summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-03-13 00:37:27 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2003-03-13 00:37:27 -0800
commita693405459827ef869c41467e9460afd174a396f (patch)
tree25702a892899828023a4d45eef71b5a2f067c4f8 /include/linux/device.h
parent500d525042b8b4f2df766c385380f8a8d5c4920e (diff)
driver core: Export the legacy_bus structure for drivers to use.
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index e27039ec2222..908d6b708fb7 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -366,6 +366,7 @@ extern int platform_device_register(struct platform_device *);
extern void platform_device_unregister(struct platform_device *);
extern struct bus_type platform_bus_type;
+extern struct device legacy_bus;
/* drivers/base/power.c */
extern int device_suspend(u32 state, u32 level);