ASoC: cs4271: fix sparse warning
Make the flag in the pdata of type bool to fix a sparse warning. Signed-off-by: Daniel Mack <zonque@gmail.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
struct cs4271_platform_data {
|
||||
int gpio_nreset; /* GPIO driving Reset pin, if any */
|
||||
int amutec_eq_bmutec:1; /* flag to enable AMUTEC=BMUTEC */
|
||||
bool amutec_eq_bmutec; /* flag to enable AMUTEC=BMUTEC */
|
||||
};
|
||||
|
||||
#endif /* __CS4271_H */
|
||||
|
Reference in New Issue
Block a user