aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs_enet_pd.h10
-rw-r--r--include/linux/fs_uart_pd.h4
2 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h
index 74ed35a00a94..932223550aca 100644
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -87,18 +87,20 @@ struct fs_mii_bb_platform_info {
87}; 87};
88 88
89struct fs_platform_info { 89struct fs_platform_info {
90 90
91 void(*init_ioports)(void); 91 void(*init_ioports)(struct fs_platform_info *);
92 /* device specific information */ 92 /* device specific information */
93 int fs_no; /* controller index */ 93 int fs_no; /* controller index */
94 94
95 u32 cp_page; /* CPM page */ 95 u32 cp_page; /* CPM page */
96 u32 cp_block; /* CPM sblock */ 96 u32 cp_block; /* CPM sblock */
97 97
98 u32 clk_trx; /* some stuff for pins & mux configuration*/ 98 u32 clk_trx; /* some stuff for pins & mux configuration*/
99 u32 clk_rx;
100 u32 clk_tx;
99 u32 clk_route; 101 u32 clk_route;
100 u32 clk_mask; 102 u32 clk_mask;
101 103
102 u32 mem_offset; 104 u32 mem_offset;
103 u32 dpram_offset; 105 u32 dpram_offset;
104 u32 fcc_regs_c; 106 u32 fcc_regs_c;
diff --git a/include/linux/fs_uart_pd.h b/include/linux/fs_uart_pd.h
index f5975126b712..a99a020f95c2 100644
--- a/include/linux/fs_uart_pd.h
+++ b/include/linux/fs_uart_pd.h
@@ -46,7 +46,7 @@ static inline int fs_uart_id_fsid2smc(int id)
46} 46}
47 47
48struct fs_uart_platform_info { 48struct fs_uart_platform_info {
49 void(*init_ioports)(void); 49 void(*init_ioports)(struct fs_uart_platform_info *);
50 /* device specific information */ 50 /* device specific information */
51 int fs_no; /* controller index */ 51 int fs_no; /* controller index */
52 u32 uart_clk; 52 u32 uart_clk;
@@ -55,6 +55,8 @@ struct fs_uart_platform_info {
55 u8 rx_num_fifo; 55 u8 rx_num_fifo;
56 u8 rx_buf_size; 56 u8 rx_buf_size;
57 u8 brg; 57 u8 brg;
58 u8 clk_rx;
59 u8 clk_tx;
58}; 60};
59 61
60#endif 62#endif