File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ struct lpc_ich_gpio_info {
139
139
size_t nr_devices ;
140
140
struct resource * * resources ;
141
141
size_t nr_resources ;
142
- resource_size_t * offsets ;
142
+ const resource_size_t * offsets ;
143
143
};
144
144
145
145
#define APL_GPIO_NORTH 0
@@ -151,7 +151,7 @@ struct lpc_ich_gpio_info {
151
151
#define APL_GPIO_NR_RESOURCES 4
152
152
153
153
/* Offset data for Apollo Lake GPIO controllers */
154
- static resource_size_t apl_gpio_offsets [APL_GPIO_NR_RESOURCES ] = {
154
+ static const resource_size_t apl_gpio_offsets [APL_GPIO_NR_RESOURCES ] = {
155
155
[APL_GPIO_NORTH ] = 0xc50000 ,
156
156
[APL_GPIO_NORTHWEST ] = 0xc40000 ,
157
157
[APL_GPIO_WEST ] = 0xc70000 ,
@@ -233,7 +233,7 @@ static const struct lpc_ich_gpio_info apl_gpio_info = {
233
233
#define DNV_GPIO_NR_RESOURCES 2
234
234
235
235
/* Offset data for Denverton GPIO controllers */
236
- static resource_size_t dnv_gpio_offsets [DNV_GPIO_NR_RESOURCES ] = {
236
+ static const resource_size_t dnv_gpio_offsets [DNV_GPIO_NR_RESOURCES ] = {
237
237
[DNV_GPIO_NORTH ] = 0xc20000 ,
238
238
[DNV_GPIO_SOUTH ] = 0xc50000 ,
239
239
};
You can’t perform that action at this time.
0 commit comments