projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: shmobile: marzen: Use RCAR_GP_PIN macro
[deliverable/linux.git]
/
arch
/
arm
/
mach-shmobile
/
board-marzen.c
diff --git
a/arch/arm/mach-shmobile/board-marzen.c
b/arch/arm/mach-shmobile/board-marzen.c
index 91052855cc1216245eb71fe14cb13d5e5f85c63d..fac9e0f87897cf26f47754f88aa5f10abf137560 100644
(file)
--- a/
arch/arm/mach-shmobile/board-marzen.c
+++ b/
arch/arm/mach-shmobile/board-marzen.c
@@
-28,6
+28,7
@@
#include <linux/leds.h>
#include <linux/dma-mapping.h>
#include <linux/pinctrl/machine.h>
#include <linux/leds.h>
#include <linux/dma-mapping.h>
#include <linux/pinctrl/machine.h>
+#include <linux/platform_data/gpio-rcar.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
#include <linux/smsc911x.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
#include <linux/smsc911x.h>
@@
-173,15
+174,15
@@
static struct platform_device usb_phy_device = {
static struct gpio_led marzen_leds[] = {
{
.name = "led2",
static struct gpio_led marzen_leds[] = {
{
.name = "led2",
- .gpio =
157
,
+ .gpio =
RCAR_GP_PIN(4, 29)
,
.default_state = LEDS_GPIO_DEFSTATE_ON,
}, {
.name = "led3",
.default_state = LEDS_GPIO_DEFSTATE_ON,
}, {
.name = "led3",
- .gpio =
158
,
+ .gpio =
RCAR_GP_PIN(4, 30)
,
.default_state = LEDS_GPIO_DEFSTATE_ON,
}, {
.name = "led4",
.default_state = LEDS_GPIO_DEFSTATE_ON,
}, {
.name = "led4",
- .gpio =
159
,
+ .gpio =
RCAR_GP_PIN(4, 31)
,
.default_state = LEDS_GPIO_DEFSTATE_ON,
},
};
.default_state = LEDS_GPIO_DEFSTATE_ON,
},
};
This page took
0.024838 seconds
and
5
git commands to generate.