diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-06-08 09:48:12 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-05 18:14:28 -0400 |
commit | dd27dcda37f0b1a3b674760fb411abc5c8fe309c (patch) | |
tree | f6b582fabc8b4f723f8209102665442fcba53364 /include/linux/of_device.h | |
parent | d3571c3acfabb6f3a93b517b75d9b30eb7e8692e (diff) |
of/device: merge of_device_uevent
Merge common code between powerpc and microblaze
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Michal Simek <monstr@monstr.eu>
CC: Wolfram Sang <w.sang@pengutronix.de>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: microblaze-uclinux@itee.uq.edu.au
CC: linuxppc-dev@ozlabs.org
Diffstat (limited to 'include/linux/of_device.h')
-rw-r--r-- | include/linux/of_device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h index a3ae5900fc58..da83e734c026 100644 --- a/include/linux/of_device.h +++ b/include/linux/of_device.h | |||
@@ -44,6 +44,10 @@ static inline void of_device_free(struct of_device *dev) | |||
44 | 44 | ||
45 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, | 45 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, |
46 | char *str, ssize_t len); | 46 | char *str, ssize_t len); |
47 | |||
48 | extern int of_device_uevent(struct device *dev, struct kobj_uevent_env *env); | ||
49 | |||
50 | |||
47 | #endif /* CONFIG_OF_DEVICE */ | 51 | #endif /* CONFIG_OF_DEVICE */ |
48 | 52 | ||
49 | #endif /* _LINUX_OF_DEVICE_H */ | 53 | #endif /* _LINUX_OF_DEVICE_H */ |