diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2010-03-02 10:34:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-02 14:31:37 -0500 |
commit | 6e93d7195e75741e9ebe23ca5591977d0b39ecc0 (patch) | |
tree | df6e84d20f9ad5aa2b95a820f6ab2beee78a8565 /drivers | |
parent | 51b2853fd91a3c8fd9f3adc1549569d2c1dc2a2d (diff) |
rt2x00: fix rt2800pci compilation with SoC
Compiling rt2800pci with CONFIG_RT2800PCI_SOC fails with "... rt2880pci.c:
error: incompatible type for argument 2 of 'rt2x00soc_probe'".
Fix this by using &rt2800pci_ops instead of rt2800pci_ops.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index aca8c124f434..91cce2d0f6db 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -1225,7 +1225,7 @@ MODULE_LICENSE("GPL"); | |||
1225 | #ifdef CONFIG_RT2800PCI_SOC | 1225 | #ifdef CONFIG_RT2800PCI_SOC |
1226 | static int rt2800soc_probe(struct platform_device *pdev) | 1226 | static int rt2800soc_probe(struct platform_device *pdev) |
1227 | { | 1227 | { |
1228 | return rt2x00soc_probe(pdev, rt2800pci_ops); | 1228 | return rt2x00soc_probe(pdev, &rt2800pci_ops); |
1229 | } | 1229 | } |
1230 | 1230 | ||
1231 | static struct platform_driver rt2800soc_driver = { | 1231 | static struct platform_driver rt2800soc_driver = { |