]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pata_it821x: fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 25 Jun 2007 17:42:22 +0000 (10:42 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Jun 2007 06:44:21 +0000 (02:44 -0400)
commit112cc2b510156494918abdf877111dfd56e5643b
tree5fa5586ca47cdba4a9fbdf5fa803ff001457da19
parent8b5bb2fa3d1c2a90ca921b6bfbb7e2de1e6dd273
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>
drivers/ata/pata_it821x.c