Skip to content

Commit

Permalink
regulator: consumer.h - fix build when consumer.h is #included first.
Browse files Browse the repository at this point in the history
consumer.h requires device.h for stand alone build.

Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Liam Girdwood committed Dec 17, 2009
1 parent a10099b commit b56daf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/regulator/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#ifndef __LINUX_REGULATOR_CONSUMER_H_
#define __LINUX_REGULATOR_CONSUMER_H_

#include <linux/device.h>

/*
* Regulator operating modes.
*
Expand Down

0 comments on commit b56daf1

Please sign in to comment.