aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 6eaa7ab9e4bc..15789875128e 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -29,9 +29,6 @@
29/* For automatically allocated device IDs */ 29/* For automatically allocated device IDs */
30static DEFINE_IDA(platform_devid_ida); 30static DEFINE_IDA(platform_devid_ida);
31 31
32#define to_platform_driver(drv) (container_of((drv), struct platform_driver, \
33 driver))
34
35struct device platform_bus = { 32struct device platform_bus = {
36 .init_name = "platform", 33 .init_name = "platform",
37}; 34};