aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-03-11 12:56:34 -0400
committerBorislav Petkov <bp@suse.de>2015-03-11 15:39:15 -0400
commit18b44b2b950a0746abe7466021e842c6d7e96443 (patch)
tree2fffe4f1ca226450c86004f9223c9741cc6d45c1 /drivers/edac
parent2ec591ac7422048f6148c762d6cb8fb96d9a290b (diff)
EDAC, i82443bxgx: Don't export static symbol
The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Doug Thompson <dougthompson@xmission.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Tim Small <tim@buttersideup.com> Link: http://lkml.kernel.org/r/1426092997-30605-13-git-send-email-Julia.Lawall@lip6.fr Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i82443bxgx_edac.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/edac/i82443bxgx_edac.c b/drivers/edac/i82443bxgx_edac.c
index 38d640694312..4d4110364f02 100644
--- a/drivers/edac/i82443bxgx_edac.c
+++ b/drivers/edac/i82443bxgx_edac.c
@@ -350,8 +350,6 @@ fail:
350 return -ENODEV; 350 return -ENODEV;
351} 351}
352 352
353EXPORT_SYMBOL_GPL(i82443bxgx_edacmc_probe1);
354
355/* returns count (>= 0), or negative on error */ 353/* returns count (>= 0), or negative on error */
356static int i82443bxgx_edacmc_init_one(struct pci_dev *pdev, 354static int i82443bxgx_edacmc_init_one(struct pci_dev *pdev,
357 const struct pci_device_id *ent) 355 const struct pci_device_id *ent)
@@ -384,8 +382,6 @@ static void i82443bxgx_edacmc_remove_one(struct pci_dev *pdev)
384 edac_mc_free(mci); 382 edac_mc_free(mci);
385} 383}
386 384
387EXPORT_SYMBOL_GPL(i82443bxgx_edacmc_remove_one);
388
389static const struct pci_device_id i82443bxgx_pci_tbl[] = { 385static const struct pci_device_id i82443bxgx_pci_tbl[] = {
390 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_0)}, 386 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_0)},
391 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_2)}, 387 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_2)},