diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-03-13 20:19:37 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-04-06 23:44:18 +0300 |
commit | 28799272acbf385d820b1fa86bd43a80aedd51fa (patch) | |
tree | aceef953ed9d2f58c0b3374969b1c790743ae2a6 /drivers/leds | |
parent | 7bbec6c4b51d2323459203510028e8344f79e126 (diff) | |
download | linux-28799272acbf385d820b1fa86bd43a80aedd51fa.tar.xz |
leds: lm3532: make bitfield 'enabled' unsigned
The bitfield 'enabled' should bit unsigned, so make it unsigned.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-lm3532.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm3532.c b/drivers/leds/leds-lm3532.c index 188a57da981a..aa9bf8cda673 100644 --- a/drivers/leds/leds-lm3532.c +++ b/drivers/leds/leds-lm3532.c @@ -140,7 +140,7 @@ struct lm3532_led { int ctrl_brt_pointer; int num_leds; int full_scale_current; - int enabled:1; + unsigned int enabled:1; u32 led_strings[LM3532_MAX_CONTROL_BANKS]; char label[LED_MAX_NAME_SIZE]; }; |