kernel_optimize_test/drivers
Bjorn Helgaas 0e46517d96 ACPI: call init_acpi_device_notify() explicitly rather than as initcall
This patch makes acpi_init() call init_acpi_device_notify() directly.
Previously, init_acpi_device_notify() was an arch_initcall (sequence 3),
so it was called before acpi_init() (a subsys_initcall at sequence 4).

init_acpi_device_notify() sets the platform_notify and
platform_notify_remove function pointers.  These pointers
are not used until acpi_init() enumerates ACPI devices in
this path:

    acpi_init()
	    acpi_scan_init()
		acpi_bus_scan()
		    acpi_add_single_object()
			acpi_device_register()
			    device_add()
				<use platform_notify>

So it is sufficient to have acpi_init() call init_acpi_device_notify()
directly before it enumerates devices.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-03-27 12:51:16 -04:00
..
accessibility
acpi ACPI: call init_acpi_device_notify() explicitly rather than as initcall 2009-03-27 12:51:16 -04:00
amba
ata
atm
auxdisplay
base PM: Split up sysdev_[suspend|resume] from device_power_[down|up], fix 2009-02-22 22:09:33 +01:00
block m68k: atari - Rename "mfp" to "st_mfp" 2009-02-22 09:23:02 -08:00
bluetooth
cdrom
char m68k: atari - Rename "mfp" to "st_mfp" 2009-02-22 09:23:02 -08:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire
firmware
gpio
gpu drm/i915: convert DRM_ERROR to DRM_DEBUG in phys object pwrite path 2009-02-25 14:52:30 +10:00
hid
hwmon
i2c Add i2c_board_info for RiscPC PCF8583 2009-02-24 19:19:50 +01:00
ide
idle
ieee1394 ieee1394: remove superfluous assertions 2009-02-24 14:51:28 +01:00
infiniband
input
isdn
leds
lguest
macintosh
mca
md md: avoid races when stopping resync. 2009-02-25 13:18:47 +11:00
media firedtv: dvb_frontend_info for FireDTV S2, fix "frequency limits undefined" error 2009-02-24 17:58:23 +01:00
memstick
message
mfd
misc
mmc
mtd
net Fix iwlan DMA mapping direction 2009-02-25 09:30:56 -08:00
nubus
of
oprofile
parisc
parport m68k: atari - Rename "mfp" to "st_mfp" 2009-02-22 09:23:02 -08:00
pci Merge git://git.infradead.org/iommu-2.6 2009-02-25 09:31:21 -08:00
pcmcia
platform fujitsu-laptop: Use RFKILL support bitmask from firmware 2009-02-21 21:59:55 -05:00
pnp
power
ps3
rapidio
regulator
rtc
s390
sbus
scsi
serial
sh
sn
spi
ssb
staging
tc
telephony
thermal
uio
usb
uwb
video m68k: atari - Rename "mfp" to "st_mfp" 2009-02-22 09:23:02 -08:00
virtio
w1
watchdog
xen PM: Split up sysdev_[suspend|resume] from device_power_[down|up] 2009-02-22 10:33:44 -08:00
zorro
Kconfig
Makefile