mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] share machine registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17456 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
#include <linux/leds.h>
|
||||
|
||||
#include <asm/mips_machine.h>
|
||||
#include <asm/mach-ralink/machine.h>
|
||||
#include <asm/mach-ralink/dev_gpio_leds.h>
|
||||
|
||||
#include "machine.h"
|
||||
#include "devices.h"
|
||||
|
||||
#define WHR_G300N_GPIO_LED_DIAG 7
|
||||
@@ -93,4 +93,4 @@ static void __init whr_g300n_init(void)
|
||||
whr_g300n_leds_gpio);
|
||||
}
|
||||
|
||||
MIPS_MACHINE(RT305X_MACH_WHR_G300N, "Buffalo WHR-G300N", whr_g300n_init);
|
||||
MIPS_MACHINE(RAMIPS_MACH_WHR_G300N, "Buffalo WHR-G300N", whr_g300n_init);
|
||||
|
||||
Reference in New Issue
Block a user