[PATCH] ethernet: add export.h in davinci_cpdma.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To remove warning messages about 'EXPORT_SYMBOL_GPL', include export header.

drivers/net/ethernet/ti/davinci_cpdma.c:280: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:280: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:280: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:326: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:326: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:326: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:357: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:357: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:357: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:428: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:428: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:428: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:452: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:452: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:452: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:537: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:537: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:537: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:555: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:555: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:555: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:704: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:704: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:704: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:788: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:788: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:788: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:816: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:816: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:816: warning: parameter names (without types) in function declaration
drivers/net/ethernet/ti/davinci_cpdma.c:877: warning: data definition has no type or storage class
drivers/net/ethernet/ti/davinci_cpdma.c:877: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/net/ethernet/ti/davinci_cpdma.c:877: warning: parameter names (without types) in function declaration

Signed-off-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>
---
 drivers/net/ethernet/ti/davinci_cpdma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c
index d614c37..3c1e423 100644
--- a/drivers/net/ethernet/ti/davinci_cpdma.c
+++ b/drivers/net/ethernet/ti/davinci_cpdma.c
@@ -19,6 +19,7 @@
 #include <linux/err.h>
 #include <linux/dma-mapping.h>
 #include <linux/io.h>
+#include <linux/export.h>
 
 #include "davinci_cpdma.h"
 
-- 
1.7.2.5

Best Regards,
Milo


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux