summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/umc-drv.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-10 13:18:02 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:19 -0400
commit475c0a6b2cff037ca522d3aff839024ab30ed7eb (patch)
treec4de284043b7536cf310df61ee81043ae0403517 /drivers/uwb/umc-drv.c
parentc7394efc26eab577b4b6a235409231deb340445f (diff)
uwb: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
These macros are no longer in module.h and module.h is no longer present everywhere. Call out export.h for the real users who are making use of these macros, or else we'll get things like: CC drivers/uwb/umc-drv.o drivers/uwb/umc-dev.c:42: warning: data definition has no type or storage class drivers/uwb/umc-dev.c:42: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’ drivers/uwb/umc-dev.c:42: warning: parameter names (without types) in function declaration Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/uwb/umc-drv.c')
-rw-r--r--drivers/uwb/umc-drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/umc-drv.c b/drivers/uwb/umc-drv.c
index 367b5eb85d6..26d0ae1816b 100644
--- a/drivers/uwb/umc-drv.c
+++ b/drivers/uwb/umc-drv.c
@@ -6,6 +6,7 @@
* This file is released under the GNU GPL v2.
*/
#include <linux/kernel.h>
+#include <linux/export.h>
#include <linux/uwb/umc.h>
int __umc_driver_register(struct umc_driver *umc_drv, struct module *module,