diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-10 13:18:02 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:32:19 -0400 |
commit | 475c0a6b2cff037ca522d3aff839024ab30ed7eb (patch) | |
tree | c4de284043b7536cf310df61ee81043ae0403517 /drivers/uwb/lc-dev.c | |
parent | c7394efc26eab577b4b6a235409231deb340445f (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/lc-dev.c')
-rw-r--r-- | drivers/uwb/lc-dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/lc-dev.c b/drivers/uwb/lc-dev.c index dea265873cb..5241f1d0ef7 100644 --- a/drivers/uwb/lc-dev.c +++ b/drivers/uwb/lc-dev.c @@ -25,6 +25,7 @@ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/device.h> +#include <linux/export.h> #include <linux/err.h> #include <linux/kdev_t.h> #include <linux/random.h> |