Re: [PATCH -next v2] bcma: driver_chipcommon_pmu.c needs linux/export.h
From: Randy Dunlap <hidden>
Date: 2011-09-21 15:52:48
Also in:
linux-next, lkml
From: Randy Dunlap <hidden>
Date: 2011-09-21 15:52:48
Also in:
linux-next, lkml
On 09/20/2011 11:45 PM, Rafał Miłecki wrote:
W dniu 20 września 2011 22:51 użytkownik Randy Dunlap [off-list ref] napisał:quoted
From: Randy Dunlap <redacted> 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 declarationDon't you get the same warning for core.c? Weird...
No, I don't. Stranger things have happened, I'm sure. Feel free to add export.h to other files, or do you want me to do that? -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***