diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-10 17:18:02 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:32:19 (GMT) |
commit | 475c0a6b2cff037ca522d3aff839024ab30ed7eb (patch) | |
tree | c4de284043b7536cf310df61ee81043ae0403517 /drivers/uwb/umc-drv.c | |
parent | c7394efc26eab577b4b6a235409231deb340445f (diff) | |
download | linux-475c0a6b2cff037ca522d3aff839024ab30ed7eb.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/umc-drv.c b/drivers/uwb/umc-drv.c index 367b5eb8..26d0ae1 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, |