Message ID | 1370420821-28420-5-git-send-email-horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | Accepted |
Commit | b0c9d28adec5add3d36e6f2fb0d5652b10743116 |
Headers | show |
diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h index 6c0027a..2d8d694 100644 --- a/include/linux/platform_data/gpio-rcar.h +++ b/include/linux/platform_data/gpio-rcar.h @@ -24,4 +24,6 @@ struct gpio_rcar_config { unsigned has_both_edge_trigger:1; }; +#define RCAR_GP_PIN(bank, pin) (((bank) * 32) + (pin)) + #endif /* __GPIO_RCAR_H__ */