]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/powerpc/include/asm/of_device.h
of: kill struct of_device
[karo-tx-linux.git] / arch / powerpc / include / asm / of_device.h
1 #ifndef _ASM_POWERPC_OF_DEVICE_H
2 #define _ASM_POWERPC_OF_DEVICE_H
3 #ifdef __KERNEL__
4
5 #include <linux/device.h>
6 #include <linux/of.h>
7
8 extern struct of_device *of_device_alloc(struct device_node *np,
9                                          const char *bus_id,
10                                          struct device *parent);
11
12 extern int of_device_uevent(struct device *dev,
13                             struct kobj_uevent_env *env);
14
15 #endif /* __KERNEL__ */
16 #endif /* _ASM_POWERPC_OF_DEVICE_H */