of: kill struct of_device
[deliverable/linux.git] / arch / microblaze / include / asm / of_device.h
1 /*
2 * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu>
3 *
4 * based on PowerPC of_device.h
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10
11 #ifndef _ASM_MICROBLAZE_OF_DEVICE_H
12 #define _ASM_MICROBLAZE_OF_DEVICE_H
13 #ifdef __KERNEL__
14
15 #include <linux/device.h>
16 #include <linux/of.h>
17
18 extern ssize_t of_device_get_modalias(struct of_device *ofdev,
19 char *str, ssize_t len);
20
21 extern struct of_device *of_device_alloc(struct device_node *np,
22 const char *bus_id,
23 struct device *parent);
24
25 extern int of_device_uevent(struct device *dev,
26 struct kobj_uevent_env *env);
27
28 extern void of_device_make_bus_id(struct of_device *dev);
29
30 /* This is just here during the transition */
31 #include <linux/of_device.h>
32
33 #endif /* __KERNEL__ */
34 #endif /* _ASM_MICROBLAZE_OF_DEVICE_H */
This page took 0.036248 seconds and 5 git commands to generate.