aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorMiquel van Smoorenburg <miquels@cistron.nl>2008-05-02 01:05:33 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-05-02 13:13:23 -0500
commitc864cb145dc2218cfad9fe53d323b54b48dbab6c (patch)
tree4f75dabae6c4de4b1d938e2fc6baa4de107e95bf /drivers/power
parent33139b21013aba815924b421159fab35e5175483 (diff)
[SCSI] dpt_i2o: use standard __init / __exit code
Update dpt_i2o.c to use the standard __init / __exit code instead of the legacy '#include "scsi_module.c"' code. This is needed in preparation of 64-bit support. scsi_module.c calls scsi_add_host() with the device pointer set to NULL, and that crashes code like arch/x64/kernel/pci-gart_64.c::need_iommu(). The reboot_notifier code is deleted because it wasn't compiled in ever anyway, and it would be useless to duplicate it in the new code. Signed-off-by: Miquel van Smoorenburg <miquels@cistron.nl> Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions