Commit b56daf13eb77ee24f48f0bb34c2492f46a432ec4

Authored by Liam Girdwood
1 parent a10099bc88

regulator: consumer.h - fix build when consumer.h is #included first.

consumer.h requires device.h for stand alone build.

Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

include/linux/regulator/consumer.h
... ... @@ -35,6 +35,8 @@
35 35 #ifndef __LINUX_REGULATOR_CONSUMER_H_
36 36 #define __LINUX_REGULATOR_CONSUMER_H_
37 37  
  38 +#include <linux/device.h>
  39 +
38 40 /*
39 41 * Regulator operating modes.
40 42 *