Skip to content

Commit

Permalink
Blackfin: boards: add missing "static" to peripheral lists
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Jan 10, 2011
1 parent 3ea9f2b commit a8b1988
Show file tree
Hide file tree
Showing 26 changed files with 95 additions and 95 deletions.
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf518/boards/ezbrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -495,7 +495,7 @@ static struct resource bfin_uart1_resources[] = {
},
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -635,7 +635,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -669,7 +669,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf518/boards/tcm-bf518.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -420,7 +420,7 @@ static struct resource bfin_uart1_resources[] = {
},
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -547,7 +547,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -581,7 +581,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf527/boards/ad7160eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -475,7 +475,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -628,7 +628,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -662,7 +662,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf527/boards/cm_bf527.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -670,7 +670,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -802,7 +802,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -836,7 +836,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf527/boards/ezbrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -555,7 +555,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -682,7 +682,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -716,7 +716,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf527/boards/ezkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -764,7 +764,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -990,7 +990,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -1024,7 +1024,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf527/boards/tll6527m.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -642,7 +642,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -799,7 +799,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -834,7 +834,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf533/boards/H8606.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down
6 changes: 3 additions & 3 deletions arch/blackfin/mach-bf533/boards/blackstamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -289,7 +289,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -323,7 +323,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
6 changes: 3 additions & 3 deletions arch/blackfin/mach-bf533/boards/cm_bf533.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -336,7 +336,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -370,7 +370,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf533/boards/ezkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf533/boards/ip0x.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down
6 changes: 3 additions & 3 deletions arch/blackfin/mach-bf533/boards/stamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static struct resource bfin_uart0_resources[] = {
},
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -418,7 +418,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -452,7 +452,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf537/boards/cm_bf537e.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static struct resource bfin_uart0_resources[] = {
#endif
};

unsigned short bfin_uart0_peripherals[] = {
static unsigned short bfin_uart0_peripherals[] = {
P_UART0_TX, P_UART0_RX, 0
};

Expand Down Expand Up @@ -434,7 +434,7 @@ static struct resource bfin_uart1_resources[] = {
#endif
};

unsigned short bfin_uart1_peripherals[] = {
static unsigned short bfin_uart1_peripherals[] = {
P_UART1_TX, P_UART1_RX, 0
};

Expand Down Expand Up @@ -545,7 +545,7 @@ static struct resource bfin_sport0_uart_resources[] = {
},
};

unsigned short bfin_sport0_peripherals[] = {
static unsigned short bfin_sport0_peripherals[] = {
P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0
};
Expand Down Expand Up @@ -579,7 +579,7 @@ static struct resource bfin_sport1_uart_resources[] = {
},
};

unsigned short bfin_sport1_peripherals[] = {
static unsigned short bfin_sport1_peripherals[] = {
P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS,
P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0
};
Expand Down
Loading

0 comments on commit a8b1988

Please sign in to comment.