summaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-05 11:03:36 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 12:11:18 +0000
commitf9e47cc4c2ddefaaa91ddae25449803cdd5243b8 (patch)
treef7023399c4eb45a4f8dbcc47c42ecb7c7c78ab33 /src/include/device/device.h
parent4139c15276a62c32c8d976c41782073379d64585 (diff)
downloadcoreboot-f9e47cc4c2ddefaaa91ddae25449803cdd5243b8.tar.xz
src: Get rid of device_t
Use of device_t is deprecated. Change-Id: Ie05869901ac33d7089e21110f46c1241f7ee731f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/30047 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 6713c9492c..c2f8ecefd7 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -14,14 +14,9 @@
#include <rules.h>
#include <device/resource.h>
#include <device/path.h>
-
-struct device;
-
-#ifndef __SIMPLE_DEVICE__
-typedef struct device *device_t;
-#endif
#include <arch/io.h>
+struct device;
struct pci_operations;
struct pci_bus_operations;
struct i2c_bus_operations;