[PATCH v2] ARM : mx35: 3ds-board: add framebuffer device
Fabio Estevam
festevam at gmail.com
Fri Mar 9 16:00:46 EST 2012
On Fri, Nov 4, 2011 at 2:33 AM, wu guoxing <b39297 at freescale.com> wrote:
> +static int mc9s08dz60_lcd_gpio_get(void)
> +{
> + int ret;
> + struct gpio_chip *chip;
> + chip = gpiochip_find(
> + "mc9s08dz60", mc9s08dz60_gpiochip_match);
> + if (chip)
> + ret = chip->base + 6;
Please add a define to replace this magic "6".
The extra defines would be also useful for people that want to access
the other GPIOs from mc9s08dz60.
Regards,
Fabio Estevam
More information about the linux-arm-kernel
mailing list