lkml.org 
[lkml]   [2012]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Pinctrl header: trivial: declare struct device
Date
As struct device is used as a function argument, it should at least be
declared (device.h is not included).

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
include/linux/pinctrl/consumer.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/pinctrl/consumer.h b/include/linux/pinctrl/consumer.h
index 6dd96fb..e9b7f43 100644
--- a/include/linux/pinctrl/consumer.h
+++ b/include/linux/pinctrl/consumer.h
@@ -20,6 +20,7 @@
/* This struct is private to the core and should be regarded as a cookie */
struct pinctrl;
struct pinctrl_state;
+struct device;

#ifdef CONFIG_PINCTRL

--
1.7.2.5


\
 
 \ /
  Last update: 2012-08-10 17:22    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site