Commit 28799272 authored by Colin Ian King's avatar Colin Ian King Committed by Pavel Machek

leds: lm3532: make bitfield 'enabled' unsigned

The bitfield 'enabled' should bit unsigned, so make it unsigned.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 7bbec6c4
...@@ -140,7 +140,7 @@ struct lm3532_led { ...@@ -140,7 +140,7 @@ struct lm3532_led {
int ctrl_brt_pointer; int ctrl_brt_pointer;
int num_leds; int num_leds;
int full_scale_current; int full_scale_current;
int enabled:1; unsigned int enabled:1;
u32 led_strings[LM3532_MAX_CONTROL_BANKS]; u32 led_strings[LM3532_MAX_CONTROL_BANKS];
char label[LED_MAX_NAME_SIZE]; char label[LED_MAX_NAME_SIZE];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment