فهرست منبع

mfd: omap-usb-tll: Include omap-usb.h

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>
Ben Dooks 9 سال پیش
والد
کامیت
17ed4d2240
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      drivers/mfd/omap-usb-tll.c

+ 2 - 0
drivers/mfd/omap-usb-tll.c

@@ -30,6 +30,8 @@
 #include <linux/platform_data/usb-omap.h>
 #include <linux/platform_data/usb-omap.h>
 #include <linux/of.h>
 #include <linux/of.h>
 
 
+#include "omap-usb.h"
+
 #define USBTLL_DRIVER_NAME	"usbhs_tll"
 #define USBTLL_DRIVER_NAME	"usbhs_tll"
 
 
 /* TLL Register Set */
 /* TLL Register Set */