diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-30 16:28:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-30 16:28:16 -0700 |
commit | bdfa3d8fe123a940be121daf374581727b3b6547 (patch) | |
tree | aa25729b7104829f21b94280881b3220905723b7 /net/rds | |
parent | 526de53cf78d325351904eefb9624f933924df75 (diff) | |
download | linux-3.10-bdfa3d8fe123a940be121daf374581727b3b6547.tar.gz linux-3.10-bdfa3d8fe123a940be121daf374581727b3b6547.tar.bz2 linux-3.10-bdfa3d8fe123a940be121daf374581727b3b6547.zip |
can: pch_can: fix section mismatch warning by using a whitelisted name
This patch fixes the following section mismatch warning:
WARNING: drivers/net/can/pch_can.o(.data+0x18):
Section mismatch in reference from the variable pch_can_pcidev
to the variable .devinit.rodata:pch_pci_tbl
The variable pch_can_pcidev references
the variable __devinitconst pch_pci_tbl
This is actually a false positive which is fixed by giving the offending
variable a whitelisted name, it's renamed to "pch_can_pci_driver".
This makes sense because the variable is of the type "struct pci_driver".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions