diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2010-02-13 14:55:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-15 16:14:09 -0500 |
commit | cea90e55969ff70b970d64d564076a5469331527 (patch) | |
tree | 7245d43edb144e1bdd1011aabcf230a875908fef /drivers/net/wireless/rt2x00/rt2x00soc.c | |
parent | 15a69a81731d337a3d9db51692ff8704c1114f43 (diff) |
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.c | 6 |
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, | |||
94 | rt2x00dev->irq = platform_get_irq(pdev, 0); | 94 | rt2x00dev->irq = platform_get_irq(pdev, 0); |
95 | rt2x00dev->name = pdev->dev.driver->name; | 95 | rt2x00dev->name = pdev->dev.driver->name; |
96 | 96 | ||
97 | /* | 97 | rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_SOC); |
98 | * SoC devices mimic PCI behavior. | ||
99 | */ | ||
100 | rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCI); | ||
101 | |||
102 | rt2x00_set_chip_rt(rt2x00dev, chipset); | 98 | rt2x00_set_chip_rt(rt2x00dev, chipset); |
103 | 99 | ||
104 | retval = rt2x00soc_alloc_reg(rt2x00dev); | 100 | retval = rt2x00soc_alloc_reg(rt2x00dev); |