mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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>
This commit is contained in:
parent
7bbec6c4b5
commit
28799272ac
@ -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];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user