mfd: omap-usb-tll: Include omap-usb.h
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 18:06:20 +0000 (19:06 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Jun 2016 09:14:33 +0000 (10:14 +0100)
Fix the warnings about the following functions not being
declared by including omap-usb.h which declares them:

drivers/mfd/omap-usb-tll.c:333:5: warning: symbol 'omap_tll_init' was not declared. Should it be static?
drivers/mfd/omap-usb-tll.c:408:5: warning: symbol 'omap_tll_enable' was not declared. Should it be static?
drivers/mfd/omap-usb-tll.c:442:5: warning: symbol 'omap_tll_disable' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/omap-usb-tll.c

index c30290f..1aa74c4 100644 (file)
@@ -30,6 +30,8 @@
 #include <linux/platform_data/usb-omap.h>
 #include <linux/of.h>
 
+#include "omap-usb.h"
+
 #define USBTLL_DRIVER_NAME     "usbhs_tll"
 
 /* TLL Register Set */