diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-05-31 22:53:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-05-31 22:53:31 +0000 |
commit | 949c26dd1571274432f532f1760948e7f125f257 (patch) | |
tree | 193bc09f3772d0079ef67b2eba5f16b485db409a /target/linux | |
parent | 9f519d000acfca033014378ad71579e3a8c06e2c (diff) | |
download | upstream-949c26dd1571274432f532f1760948e7f125f257.tar.gz upstream-949c26dd1571274432f532f1760948e7f125f257.tar.bz2 upstream-949c26dd1571274432f532f1760948e7f125f257.zip |
ar71xx: don't register 8250 UART on the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27058 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index 86107ef365..da1eaa2e5f 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c @@ -71,6 +71,11 @@ void __init ar71xx_add_device_uart(void) ar71xx_uart_data[0].uartclk = ar71xx_ahb_freq; break; + case AR71XX_SOC_AR9330: + case AR71XX_SOC_AR9331: + /* These SoCs are using a different UART core */ + return; + case AR71XX_SOC_AR9341: case AR71XX_SOC_AR9342: case AR71XX_SOC_AR9344: @@ -79,8 +84,8 @@ void __init ar71xx_add_device_uart(void) default: BUG(); - } + platform_device_register(&ar71xx_uart_device); } |