msm: gpio: Mark the msm_gpiomux_config strucutres as static
Subsystems (3)
PATCH 1/1 msm: gpio: Mark the msm_gpiomux_config strucutres as static
The msm_gpiomux_config structures are now part of the board file and can be marked as static
Signed-off-by Rohit Vaswani <[email protected]>
--- arch/arm/mach-msm/board-msm7x27.c | 2 +- arch/arm/mach-msm/board-msm7x30.c | 2 +- arch/arm/mach-msm/board-msm8x60.c | 2 +- arch/arm/mach-msm/board-qsd8x50.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/mach-msm/board-msm7x27.c +1 -1
@@ -45,7 +45,7 @@#include "socinfo.h" #include "clock.h" -struct msm_gpiomux_config msm7x27_gpiomux_configs[NR_GPIO_IRQS ]__initdata = {}; +static struct msm_gpiomux_config msm7x27_gpiomux_configs[NR_GPIO_IRQS ] = {};static struct resource smc91x_resources[] = { [0 ] = {
arch/arm/mach-msm/board-msm7x30.c +1 -1
@@ -60,7 +60,7 @@ static struct msm_otg_platform_data msm_otg_pdata = { .otg_control = OTG_PHY_CONTROL, }; -struct msm_gpiomux_config msm7x30_uart2_configs[]__initdata = { +static struct msm_gpiomux_config msm7x30_uart2_configs[] = { { .gpio =49 ,/* UART2 RFR */ .settings = {
arch/arm/mach-msm/board-msm8x60.c +1 -1
@@ -29,7 +29,7 @@#include <mach/msm_iomap.h> #include "gpiomux.h" -struct msm_gpiomux_config msm8x60_gpiomux_configs[NR_GPIO_IRQS ]__initdata = {}; +static struct msm_gpiomux_config msm8x60_gpiomux_configs[NR_GPIO_IRQS ] = {};static int __init gpiomux_init (void ) {
arch/arm/mach-msm/board-qsd8x50.c +1 -1
@@ -47,7 +47,7 @@ static struct gpiomux_setting uart3_suspended = {extern struct sys_timer msm_timer; -struct msm_gpiomux_config qsd8x50_uart3_configs[] = { +static struct msm_gpiomux_config qsd8x50_uart3_configs[] = { { .gpio =86 ,/* UART3 RX */ .settings = {
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center,Inc The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.