diff options
Diffstat (limited to 'include/asm-powerpc/of_device.h')
-rw-r--r-- | include/asm-powerpc/of_device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/of_device.h b/include/asm-powerpc/of_device.h index 93262f2546ad..6526e139a463 100644 --- a/include/asm-powerpc/of_device.h +++ b/include/asm-powerpc/of_device.h | |||
@@ -17,6 +17,10 @@ struct of_device | |||
17 | struct device dev; /* Generic device interface */ | 17 | struct device dev; /* Generic device interface */ |
18 | }; | 18 | }; |
19 | 19 | ||
20 | extern struct of_device *of_device_alloc(struct device_node *np, | ||
21 | const char *bus_id, | ||
22 | struct device *parent); | ||
23 | |||
20 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, | 24 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, |
21 | char *str, ssize_t len); | 25 | char *str, ssize_t len); |
22 | extern int of_device_uevent(struct device *dev, | 26 | extern int of_device_uevent(struct device *dev, |