diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-27 20:20:05 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-27 20:20:05 +0000 |
commit | 7f0bb8aeb7d5912b73e073a51377a3d676f62723 (patch) | |
tree | 78ece6819468f443c46c96d7dd2b3aa58eea5641 /target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | |
parent | f8da08ef397e11c65539762377cac95f356274da (diff) |
[ar71xx] use enum for the machine type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/setup.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c index 6c6cde82b..2e1a7f6a5 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c @@ -34,7 +34,7 @@ #define AR71XX_BASE_FREQ 40000000 #define AR91XX_BASE_FREQ 5000000 -unsigned long ar71xx_mach_type; +enum ar71xx_mach_type ar71xx_mach; u32 ar71xx_cpu_freq; EXPORT_SYMBOL_GPL(ar71xx_cpu_freq); @@ -284,7 +284,7 @@ static int __init ar71xx_machine_setup(void) ar71xx_add_device_uart(); ar71xx_add_device_wdt(); - mips_machine_setup(ar71xx_mach_type); + mips_machine_setup(ar71xx_mach); return 0; } |