lkml.org 
[lkml]   [2013]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] gpiolib: add missing declarations
Date
Add missing declarations and include files to avoid warnings during
compilation of include/gpio/driver.h.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reported-by: Stephen Warren <swarren@wwwdotorg.org>
---
include/linux/gpio/driver.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 82eac61..3ea2cf6 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -2,9 +2,12 @@
#define __LINUX_GPIO_DRIVER_H

#include <linux/types.h>
+#include <linux/module.h>

struct device;
struct gpio_desc;
+struct of_phandle_args;
+struct device_node;
struct seq_file;

/**
--
1.8.4.2


\
 
 \ /
  Last update: 2013-11-23 07:21    [W:0.062 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site