projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'm68knommu-for-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg...
[linux-2.6-microblaze.git]
/
drivers
/
leds
/
leds-aw200xx.c
diff --git
a/drivers/leds/leds-aw200xx.c
b/drivers/leds/leds-aw200xx.c
index
691a743
..
14ca236
100644
(file)
--- a/
drivers/leds/leds-aw200xx.c
+++ b/
drivers/leds/leds-aw200xx.c
@@
-112,7
+112,7
@@
struct aw200xx {
struct mutex mutex;
u32 num_leds;
u32 display_rows;
struct mutex mutex;
u32 num_leds;
u32 display_rows;
- struct aw200xx_led leds[];
+ struct aw200xx_led leds[]
__counted_by(num_leds)
;
};
static ssize_t dim_show(struct device *dev, struct device_attribute *devattr,
};
static ssize_t dim_show(struct device *dev, struct device_attribute *devattr,
@@
-479,7
+479,7
@@
static const struct regmap_config aw200xx_regmap_config = {
.num_ranges = ARRAY_SIZE(aw200xx_ranges),
.rd_table = &aw200xx_readable_table,
.wr_table = &aw200xx_writeable_table,
.num_ranges = ARRAY_SIZE(aw200xx_ranges),
.rd_table = &aw200xx_readable_table,
.wr_table = &aw200xx_writeable_table,
- .cache_type = REGCACHE_
RBTRE
E,
+ .cache_type = REGCACHE_
MAPL
E,
};
static int aw200xx_probe(struct i2c_client *client)
};
static int aw200xx_probe(struct i2c_client *client)