+static struct gpio_button rt_n15_gpio_buttons[] __initdata = {
+ {
+ .desc = "reset",
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .threshold = 3,
+ .gpio = RT_N15_GPIO_BUTTON_RESET,
+ .active_low = 1,
+ }, {
+ .desc = "wps",
+ .type = EV_KEY,
+ .code = KEY_WPS_BUTTON,
+ .threshold = 3,
+ .gpio = RT_N15_GPIO_BUTTON_WPS,
+ .active_low = 1,
+ }
+};
+
+static struct rtl8366s_platform_data rt_n15_rtl8366s_data = {
+ .gpio_sda = RT_N15_GPIO_RTL8366_SDA,
+ .gpio_sck = RT_N15_GPIO_RTL8366_SCK,
+};
+
+static struct platform_device rt_n15_rtl8366s_device = {
+ .name = RTL8366S_DRIVER_NAME,
+ .id = -1,
+ .dev = {
+ .platform_data = &rt_n15_rtl8366s_data,
+ }
+};
+