diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 16:13:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 16:13:55 -0500 |
commit | cff2f741b8ee8a70b208830e330de053efd4fc45 (patch) | |
tree | 83367ed74d889e2c8179f1f8b5d6f6f73b857982 /include/linux/kobject.h | |
parent | b0885d01f9ab1274109c02942c881d598f939623 (diff) | |
parent | 92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff) |
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman:
"Here's the large driver core updates for 3.8-rc1.
The biggest thing here is the various __dev* marking removals. This
is going to be a pain for the merge with different subsystem trees, I
know, but all of the patches included here have been ACKed by their
various subsystem maintainers, as they wanted them to go through here.
If this is too much of a pain, I can pull all of them out of this tree
and just send you one with the other fixes/updates and then, after
3.8-rc1 is out, do the rest of the removals to ensure we catch them
all, it's up to you. The merges should all be trivial, and Stephen
has been doing them all in linux-next for a few weeks now quite
easily.
Other than the __dev* marking removals, there's nothing major here,
some firmware loading updates and other minor things in the driver
core.
All of these have (much to Stephen's annoyance), been in linux-next
for a while.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio
update.
* tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits)
modpost.c: Stop checking __dev* section mismatches
init.h: Remove __dev* sections from the kernel
acpi: remove use of __devinit
PCI: Remove __dev* markings
PCI: Always build setup-bus when PCI is enabled
PCI: Move pci_uevent into pci-driver.c
PCI: Remove CONFIG_HOTPLUG ifdefs
unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs
sh/PCI: Remove CONFIG_HOTPLUG ifdefs
powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs
mips/PCI: Remove CONFIG_HOTPLUG ifdefs
microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs
dma: remove use of __devinit
dma: remove use of __devexit_p
firewire: remove use of __devinitdata
firewire: remove use of __devinit
leds: remove use of __devexit
leds: remove use of __devinit
leds: remove use of __devexit_p
mmc: remove use of __devexit
...
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 1e57449395b1..939b11268c86 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -203,7 +203,6 @@ extern struct kobject *power_kobj; | |||
203 | /* The global /sys/firmware/ kobject for people to chain off of */ | 203 | /* The global /sys/firmware/ kobject for people to chain off of */ |
204 | extern struct kobject *firmware_kobj; | 204 | extern struct kobject *firmware_kobj; |
205 | 205 | ||
206 | #if defined(CONFIG_HOTPLUG) | ||
207 | int kobject_uevent(struct kobject *kobj, enum kobject_action action); | 206 | int kobject_uevent(struct kobject *kobj, enum kobject_action action); |
208 | int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, | 207 | int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, |
209 | char *envp[]); | 208 | char *envp[]); |
@@ -213,22 +212,5 @@ int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); | |||
213 | 212 | ||
214 | int kobject_action_type(const char *buf, size_t count, | 213 | int kobject_action_type(const char *buf, size_t count, |
215 | enum kobject_action *type); | 214 | enum kobject_action *type); |
216 | #else | ||
217 | static inline int kobject_uevent(struct kobject *kobj, | ||
218 | enum kobject_action action) | ||
219 | { return 0; } | ||
220 | static inline int kobject_uevent_env(struct kobject *kobj, | ||
221 | enum kobject_action action, | ||
222 | char *envp[]) | ||
223 | { return 0; } | ||
224 | |||
225 | static inline __printf(2, 3) | ||
226 | int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) | ||
227 | { return -ENOMEM; } | ||
228 | |||
229 | static inline int kobject_action_type(const char *buf, size_t count, | ||
230 | enum kobject_action *type) | ||
231 | { return -EINVAL; } | ||
232 | #endif | ||
233 | 215 | ||
234 | #endif /* _KOBJECT_H_ */ | 216 | #endif /* _KOBJECT_H_ */ |