diff options
| author | Randy Dunlap <[email protected]> | 2007-06-27 14:09:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-28 11:34:53 -0700 |
| commit | 92504f79a7c57b853dfb59595fd2860282f6ba1e (patch) | |
| tree | 95b2a799759fd1366c834d47a50830627035dcb1 /include/linux/debugobjects.h | |
| parent | 59faba1b316a7798a33752b3889193333f8af1a0 (diff) | |
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 <[email protected]>
Acked-by: Chris Leech <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions