Message ID | 9547ef8e8e6fe9f933264119bd186bdd83974999.1543245984.git-series.plaes@plaes.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | regulator: axp20x: Stop AXP209 from crashing when enabling LDO3 | expand |
Hi, On Mon, Nov 26, 2018 at 05:27:54PM +0200, Priit Laes wrote: > From: Olliver Schinagl <oliver@schinagl.nl> > > The axp20x_usb_power driver uses BIT() operations but lacks the include > for it. Include the bitops.h header file. > > Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> > Signed-off-by: Priit Laes <plaes@plaes.org> > --- > drivers/power/supply/axp20x_usb_power.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/power/supply/axp20x_usb_power.c b/drivers/power/supply/axp20x_usb_power.c > index 42001df..f52fe77 100644 > --- a/drivers/power/supply/axp20x_usb_power.c > +++ b/drivers/power/supply/axp20x_usb_power.c > @@ -10,6 +10,7 @@ > * option) any later version. > */ > > +#include <linux/bitops.h> > #include <linux/device.h> > #include <linux/init.h> > #include <linux/interrupt.h> > -- > git-series 0.9.1 Thanks, queued to power-supply-next. -- Sebastian
diff --git a/drivers/power/supply/axp20x_usb_power.c b/drivers/power/supply/axp20x_usb_power.c index 42001df..f52fe77 100644 --- a/drivers/power/supply/axp20x_usb_power.c +++ b/drivers/power/supply/axp20x_usb_power.c @@ -10,6 +10,7 @@ * option) any later version. */ +#include <linux/bitops.h> #include <linux/device.h> #include <linux/init.h> #include <linux/interrupt.h>