diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-19 04:49:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:53 -0400 |
commit | 2da1c119fd999cb834b4fe0c1a5a8c36195df1cb (patch) | |
tree | db6a9dffb60accf0e0d2fabb01414d5f49c30f6f /drivers/edac/edac_mc.h | |
parent | 5da0831c598f94582bce6bb0a55b8de2f9897cb1 (diff) |
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.h | 8 |
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, | |||
424 | 424 | ||
425 | #endif /* CONFIG_PCI */ | 425 | #endif /* CONFIG_PCI */ |
426 | 426 | ||
427 | #ifdef CONFIG_EDAC_DEBUG | ||
428 | void edac_mc_dump_channel(struct channel_info *chan); | ||
429 | void edac_mc_dump_mci(struct mem_ctl_info *mci); | ||
430 | void edac_mc_dump_csrow(struct csrow_info *csrow); | ||
431 | #endif /* CONFIG_EDAC_DEBUG */ | ||
432 | |||
433 | extern struct mem_ctl_info * edac_mc_find(int idx); | 427 | extern struct mem_ctl_info * edac_mc_find(int idx); |
434 | extern int edac_mc_add_mc(struct mem_ctl_info *mci,int mc_idx); | 428 | extern int edac_mc_add_mc(struct mem_ctl_info *mci,int mc_idx); |
435 | extern struct mem_ctl_info * edac_mc_del_mc(struct device *dev); | 429 | extern struct mem_ctl_info * edac_mc_del_mc(struct device *dev); |
436 | extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, | 430 | extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, |
437 | unsigned long page); | 431 | unsigned long page); |
438 | extern void edac_mc_scrub_block(unsigned long page, unsigned long offset, | ||
439 | u32 size); | ||
440 | 432 | ||
441 | /* | 433 | /* |
442 | * The no info errors are used when error overflows are reported. | 434 | * The no info errors are used when error overflows are reported. |