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

From: RafaÅ MiÅecki
Date: Wed Sep 21 2011 - 02:46:14 EST


W dniu 20 wrzeÅnia 2011 22:51 uÅytkownik Randy Dunlap
<rdunlap@xxxxxxxxxxxx> napisaÅ:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> 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Å
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/