Re: [PATCH -next v2] bcma: driver_chipcommon_pmu.c needs linux/export.h

Rafał Miłecki
2011-09-21T06:46:11Z

W dniu 20 września 2011 22:51 użytkownik Randy Dunlap
<rdunlap@xenotime.net> napisał:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> bcma/driver_chipcommon_pmu.c needs to include <linux/export.h>
> to fix these warnings:
>
> drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: data definition has no type or storage class
> drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
> drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: parameter names (without types) in function declaration

Don't you get the same warning for core.c? Weird...

--
Rafał