[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EB39BB4.3060508@intel.com>
Date: Fri, 04 Nov 2011 10:00:52 +0200
From: Adrian Hunter <adrian.hunter@...el.com>
To: joe@...ches.com
CC: linux-kernel@...r.kernel.org, linux-mmc <linux-mmc@...r.kernel.org>
Subject: Incorrect checkpatch warning
Hi
This checkpatch warning looks wrong:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
#73: FILE: drivers/mmc/host/sdhci-pci-data.c:5:
+EXPORT_SYMBOL_GPL(sdhci_pci_get_data);
The patch has this:
diff --git a/drivers/mmc/host/sdhci-pci-data.c b/drivers/mmc/host/sdhci-pci-data.c
new file mode 100644
index 0000000..a611217
--- /dev/null
+++ b/drivers/mmc/host/sdhci-pci-data.c
@@ -0,0 +1,5 @@
+#include <linux/module.h>
+#include <linux/mmc/sdhci-pci-data.h>
+
+struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, int slotno);
+EXPORT_SYMBOL_GPL(sdhci_pci_get_data);
Regards
Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists