summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-19 10:49:32 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 19:04:53 +0200
commit2da1c119fd999cb834b4fe0c1a5a8c36195df1cb (patch)
treedb6a9dffb60accf0e0d2fabb01414d5f49c30f6f /drivers/edac/edac_mc.h
parentdrivers/edac: add edac_mc_find API (diff)
downloadlinux-2da1c119fd999cb834b4fe0c1a5a8c36195df1cb.tar.xz
linux-2da1c119fd999cb834b4fe0c1a5a8c36195df1cb.zip
drivers/edac: core: make functions static
This patch makes needlessly global code static, in the edac core Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Doug Thompson <norsk5@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/edac_mc.h')
-rw-r--r--drivers/edac/edac_mc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/edac/edac_mc.h b/drivers/edac/edac_mc.h
index 9ad8a20a8de5..fec12f722123 100644
--- a/drivers/edac/edac_mc.h
+++ b/drivers/edac/edac_mc.h
@@ -424,19 +424,11 @@ static inline void pci_write_bits32(struct pci_dev *pdev, int offset,
#endif /* CONFIG_PCI */
-#ifdef CONFIG_EDAC_DEBUG
-void edac_mc_dump_channel(struct channel_info *chan);
-void edac_mc_dump_mci(struct mem_ctl_info *mci);
-void edac_mc_dump_csrow(struct csrow_info *csrow);
-#endif /* CONFIG_EDAC_DEBUG */
-
extern struct mem_ctl_info * edac_mc_find(int idx);
extern int edac_mc_add_mc(struct mem_ctl_info *mci,int mc_idx);
extern struct mem_ctl_info * edac_mc_del_mc(struct device *dev);
extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci,
unsigned long page);
-extern void edac_mc_scrub_block(unsigned long page, unsigned long offset,
- u32 size);
/*
* The no info errors are used when error overflows are reported.