mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mfd: max77620: Constify resources tables
These tables are never modified, so declare them as const. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
521d93579f
commit
2be59755e6
1 changed files with 4 additions and 4 deletions
|
|
@ -37,19 +37,19 @@
|
|||
#include <linux/regmap.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
static struct resource gpio_resources[] = {
|
||||
static const struct resource gpio_resources[] = {
|
||||
DEFINE_RES_IRQ(MAX77620_IRQ_TOP_GPIO),
|
||||
};
|
||||
|
||||
static struct resource power_resources[] = {
|
||||
static const struct resource power_resources[] = {
|
||||
DEFINE_RES_IRQ(MAX77620_IRQ_LBT_MBATLOW),
|
||||
};
|
||||
|
||||
static struct resource rtc_resources[] = {
|
||||
static const struct resource rtc_resources[] = {
|
||||
DEFINE_RES_IRQ(MAX77620_IRQ_TOP_RTC),
|
||||
};
|
||||
|
||||
static struct resource thermal_resources[] = {
|
||||
static const struct resource thermal_resources[] = {
|
||||
DEFINE_RES_IRQ(MAX77620_IRQ_LBT_TJALRM1),
|
||||
DEFINE_RES_IRQ(MAX77620_IRQ_LBT_TJALRM2),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue