staging: tpci200: fix section mismatch warning

PCI probe routines have to be named _probe to avoid section mismatch warning.
Found when doing 'make allmodconfig'

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Stephen Hemminger 2012-09-07 08:50:54 -07:00 committed by Greg Kroah-Hartman
parent e89a3370b0
commit 2065945540
1 changed files with 3 additions and 3 deletions

View File

@ -560,8 +560,8 @@ static int tpci200_install(struct tpci200_board *tpci200)
return 0; return 0;
} }
static int tpci200_pciprobe(struct pci_dev *pdev, static int tpci200_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id) const struct pci_device_id *id)
{ {
int ret, i; int ret, i;
struct tpci200_board *tpci200; struct tpci200_board *tpci200;
@ -684,7 +684,7 @@ MODULE_DEVICE_TABLE(pci, tpci200_idtable);
static struct pci_driver tpci200_pci_drv = { static struct pci_driver tpci200_pci_drv = {
.name = "tpci200", .name = "tpci200",
.id_table = tpci200_idtable, .id_table = tpci200_idtable,
.probe = tpci200_pciprobe, .probe = tpci200_pci_probe,
.remove = __devexit_p(tpci200_pci_remove), .remove = __devexit_p(tpci200_pci_remove),
}; };