diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-06-27 14:09:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-28 11:34:53 -0700 |
commit | 92504f79a7c57b853dfb59595fd2860282f6ba1e (patch) | |
tree | 95b2a799759fd1366c834d47a50830627035dcb1 /drivers/usb/serial | |
parent | 59faba1b316a7798a33752b3889193333f8af1a0 (diff) | |
download | kernel_samsung_espresso10-92504f79a7c57b853dfb59595fd2860282f6ba1e.zip kernel_samsung_espresso10-92504f79a7c57b853dfb59595fd2860282f6ba1e.tar.gz kernel_samsung_espresso10-92504f79a7c57b853dfb59595fd2860282f6ba1e.tar.bz2 |
IOATDMA: fix section mismatches
Rename struct pci_driver data so that false section mismatch warnings won't
be produced.
Sam, ISTM that depending on variable names is the weakest & worst part of
modpost section checking. Should __init_refok work here? I got build
errors when I tried to use it, probably because the struct pci_driver probe
and remove methods are not marked "__init_refok".
WARNING: drivers/dma/ioatdma.o(.data+0x10): Section mismatch: reference to .init.text: (between 'ioat_pci_drv' and 'ioat_pci_tbl')
WARNING: drivers/dma/ioatdma.o(.data+0x14): Section mismatch: reference to .exit.text: (between 'ioat_pci_drv' and 'ioat_pci_tbl')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Chris Leech <christopher.leech@intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions