- ARRAY_SIZE(ubnt_bullet_m_gpio_buttons),
- ubnt_bullet_m_gpio_buttons);
+ ARRAY_SIZE(ubnt_m_gpio_buttons),
+ ubnt_m_gpio_buttons);
+}
+
+MIPS_MACHINE(AR71XX_MACH_UBNT_M, "Ubiquiti Bullet/Rocket M", ubnt_m_setup);
+
+/* TODO detect the second ethernet port and use one
+ init function for all Ubiquiti MIMO series products */
+static void __init ubnt_nano_m_setup(void)
+{
+ ubnt_m_setup();