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

From: Liam Girdwood
Date: Wed Nov 11 2009 - 09:25:25 EST



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

Signed-off-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
---
include/linux/regulator/consumer.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 490c5b3..030d922 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -35,6 +35,8 @@
#ifndef __LINUX_REGULATOR_CONSUMER_H_
#define __LINUX_REGULATOR_CONSUMER_H_

+#include <linux/device.h>
+
/*
* Regulator operating modes.
*
--
1.6.3.3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/