Geert Uytterhoeven
2013-11-05 20:54:37 UTC
drivers/gpio/jbtrivial.c:273:15: error: expected declaration specifiers or ?...? before string constant
drivers/gpio/jbtrivial.c:273:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:273:1: warning: type defaults to ?int? in declaration of ?MODULE_AUTHOR?
drivers/gpio/jbtrivial.c:273:15: warning: function declaration isn?t a prototype
drivers/gpio/jbtrivial.c:274:20: error: expected declaration specifiers or ?...? before string constant
drivers/gpio/jbtrivial.c:274:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:274:1: warning: type defaults to ?int? in declaration of ?MODULE_DESCRIPTION?
drivers/gpio/jbtrivial.c:274:20: warning: function declaration isn?t a prototype
drivers/gpio/jbtrivial.c:275:16: error: expected declaration specifiers or ?...? before string constant
drivers/gpio/jbtrivial.c:275:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:275:1: warning: type defaults to ?int? in declaration of ?MODULE_LICENSE?
drivers/gpio/jbtrivial.c:275:16: warning: function declaration isn?t a prototype
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
---
drivers/gpio/jbtrivial.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/jbtrivial.c b/drivers/gpio/jbtrivial.c
index a6d592b8e3f3..92c0e6f26f58 100644
--- a/drivers/gpio/jbtrivial.c
+++ b/drivers/gpio/jbtrivial.c
@@ -22,6 +22,7 @@
#include <linux/of_gpio.h>
#include <linux/io.h>
#include <linux/gpio.h>
+#include <linux/module.h>
#include <linux/slab.h>
struct jbgpio_instance {
drivers/gpio/jbtrivial.c:273:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:273:1: warning: type defaults to ?int? in declaration of ?MODULE_AUTHOR?
drivers/gpio/jbtrivial.c:273:15: warning: function declaration isn?t a prototype
drivers/gpio/jbtrivial.c:274:20: error: expected declaration specifiers or ?...? before string constant
drivers/gpio/jbtrivial.c:274:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:274:1: warning: type defaults to ?int? in declaration of ?MODULE_DESCRIPTION?
drivers/gpio/jbtrivial.c:274:20: warning: function declaration isn?t a prototype
drivers/gpio/jbtrivial.c:275:16: error: expected declaration specifiers or ?...? before string constant
drivers/gpio/jbtrivial.c:275:1: warning: data definition has no type or storage class
drivers/gpio/jbtrivial.c:275:1: warning: type defaults to ?int? in declaration of ?MODULE_LICENSE?
drivers/gpio/jbtrivial.c:275:16: warning: function declaration isn?t a prototype
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
---
drivers/gpio/jbtrivial.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/jbtrivial.c b/drivers/gpio/jbtrivial.c
index a6d592b8e3f3..92c0e6f26f58 100644
--- a/drivers/gpio/jbtrivial.c
+++ b/drivers/gpio/jbtrivial.c
@@ -22,6 +22,7 @@
#include <linux/of_gpio.h>
#include <linux/io.h>
#include <linux/gpio.h>
+#include <linux/module.h>
#include <linux/slab.h>
struct jbgpio_instance {
--
1.7.9.5
1.7.9.5