summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00soc.c
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2010-02-13 20:55:47 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-02-15 22:14:09 +0100
commitcea90e55969ff70b970d64d564076a5469331527 (patch)
tree7245d43edb144e1bdd1011aabcf230a875908fef /drivers/net/wireless/rt2x00/rt2x00soc.c
parentp54usb: Add usbid for Corega CG-WLUSB2GT. (diff)
downloadlinux-cea90e55969ff70b970d64d564076a5469331527.tar.xz
linux-cea90e55969ff70b970d64d564076a5469331527.zip
rt2x00: Introduce SoC interface type.
Introduce the SoC interface type to detect SoC devices, instead of having them mimic being PCI devices. This allows for easier detection of SoC devices. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00soc.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00soc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00soc.c b/drivers/net/wireless/rt2x00/rt2x00soc.c
index 19e684f8ffa1..0d6b43afc4e8 100644
--- a/drivers/net/wireless/rt2x00/rt2x00soc.c
+++ b/drivers/net/wireless/rt2x00/rt2x00soc.c
@@ -94,11 +94,7 @@ int rt2x00soc_probe(struct platform_device *pdev,
rt2x00dev->irq = platform_get_irq(pdev, 0);
rt2x00dev->name = pdev->dev.driver->name;
- /*
- * SoC devices mimic PCI behavior.
- */
- rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCI);
-
+ rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_SOC);
rt2x00_set_chip_rt(rt2x00dev, chipset);
retval = rt2x00soc_alloc_reg(rt2x00dev);