diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-06-25 13:42:22 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-27 02:44:21 -0400 |
commit | 112cc2b510156494918abdf877111dfd56e5643b (patch) | |
tree | 5fa5586ca47cdba4a9fbdf5fa803ff001457da19 | |
parent | 8b5bb2fa3d1c2a90ca921b6bfbb7e2de1e6dd273 (diff) |
pata_it821x: fix section mismatch warning
Fix section mismatch when CONFIG_HOTPLUG=n (but functions are used
for resume):
WARNING: drivers/ata/pata_it821x.o(.text+0x3f): Section mismatch: reference to .init.text: (between 'it821x_reinit_one' and 'it821x_program_udma')
WARNING: drivers/ata/pata_it821x.o(.text+0x691): Section mismatch: reference to .init.text: (between 'it821x_init_one' and 'it821x_passthru_set_dmamode')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/pata_it821x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index dab4e7cf8cda..12c6e08cc4d1 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -690,7 +690,7 @@ static struct ata_port_operations it821x_passthru_port_ops = { | |||
690 | .port_start = it821x_port_start, | 690 | .port_start = it821x_port_start, |
691 | }; | 691 | }; |
692 | 692 | ||
693 | static void __devinit it821x_disable_raid(struct pci_dev *pdev) | 693 | static void it821x_disable_raid(struct pci_dev *pdev) |
694 | { | 694 | { |
695 | /* Reset local CPU, and set BIOS not ready */ | 695 | /* Reset local CPU, and set BIOS not ready */ |
696 | pci_write_config_byte(pdev, 0x5E, 0x01); | 696 | pci_write_config_byte(pdev, 0x5E, 0x01); |