[OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200
Sven Eckelmann
sven.eckelmann at openmesh.com
Mon Aug 27 07:35:33 EDT 2018
On Montag, 27. August 2018 19:12:58 CEST wellnw wrote:
> + },/* {
> + .desc = "right",
> + .type = EV_KEY,
> + .code = BTN_0,
> + .debounce_interval = GL_AR750S_KEYS_DEBOUNCE_INTERVAL,
> + .gpio = GL_AR750S_GPIO_BTN_RIGHT,
> + .active_low = 1,
> + }, */
Looks like this should also not be in this patch. Or why else would this be in
a comment block?
> +#if 0
> +static struct i2c_gpio_platform_data gl_x1200_i2c_gpio_data = {
> + .sda_pin = GL_AR750S_GPIO_I2C_SDA,
> + .scl_pin = GL_AR750S_GPIO_I2C_SCL,
> +};
> +
> +static struct platform_device gl_x1200_i2c_gpio_device = {
> + .name = "i2c-gpio",
> + .id = 0,
> + .dev = {
> + .platform_data = &gl_x1200_i2c_gpio_data,
> + }
> +
> +};
> +#endif
Same here
> + //platform_device_register(&gl_ar750s_i2c_gpio_device);
And here
Kind regards,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180827/608803cc/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list