diff options
-rw-r--r-- | drivers/bus/omap_l3_noc.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/bus/omap_l3_noc.h b/drivers/bus/omap_l3_noc.h index 31984cf949cc..059c707fdc84 100644 --- a/drivers/bus/omap_l3_noc.h +++ b/drivers/bus/omap_l3_noc.h | |||
@@ -33,6 +33,16 @@ | |||
33 | 33 | ||
34 | #define NUM_OF_L3_MASTERS (sizeof(l3_masters)/sizeof(l3_masters[0])) | 34 | #define NUM_OF_L3_MASTERS (sizeof(l3_masters)/sizeof(l3_masters[0])) |
35 | 35 | ||
36 | /** | ||
37 | * struct l3_masters_data - L3 Master information | ||
38 | * @id: ID of the L3 Master | ||
39 | * @name: master name | ||
40 | */ | ||
41 | struct l3_masters_data { | ||
42 | u32 id; | ||
43 | char *name; | ||
44 | }; | ||
45 | |||
36 | static u32 l3_flagmux[L3_MODULES] = { | 46 | static u32 l3_flagmux[L3_MODULES] = { |
37 | 0x500, | 47 | 0x500, |
38 | 0x1000, | 48 | 0x1000, |
@@ -80,10 +90,7 @@ static u32 l3_targ_inst_clk3[] = { | |||
80 | 0x0 /* HOST CLK3 */ | 90 | 0x0 /* HOST CLK3 */ |
81 | }; | 91 | }; |
82 | 92 | ||
83 | static struct l3_masters_data { | 93 | static struct l3_masters_data l3_masters[] = { |
84 | u32 id; | ||
85 | char name[10]; | ||
86 | } l3_masters[] = { | ||
87 | { 0x0 , "MPU"}, | 94 | { 0x0 , "MPU"}, |
88 | { 0x10, "CS_ADP"}, | 95 | { 0x10, "CS_ADP"}, |
89 | { 0x14, "xxx"}, | 96 | { 0x14, "xxx"}, |