aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_core.h
diff options
context:
space:
mode:
authorDouglas Thompson <dougthompson@xmission.com>2007-07-19 01:50:21 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 10:04:56 -0700
commit7391c6dcab3094610cb99bbd559beaa282582eac (patch)
tree29ec05cc8abdb9be8311ea797b29c9c5b9a99aea /drivers/edac/edac_core.h
parent52490c8d07680a7ecc3c1a70a16841455d37e96a (diff)
downloadkernel_samsung_smdk4412-7391c6dcab3094610cb99bbd559beaa282582eac.zip
kernel_samsung_smdk4412-7391c6dcab3094610cb99bbd559beaa282582eac.tar.gz
kernel_samsung_smdk4412-7391c6dcab3094610cb99bbd559beaa282582eac.tar.bz2
drivers/edac: mod edac_align_ptr function
Refactor the edac_align_ptr() function to reduce the noise of casting the aligned pointer to the various types of data objects and modified its callers to its new signature Signed-off-by: Douglas Thompson <dougthompson@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_core.h')
-rw-r--r--drivers/edac/edac_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
index fa3ff8c..d843529 100644
--- a/drivers/edac/edac_core.h
+++ b/drivers/edac/edac_core.h
@@ -211,8 +211,6 @@ enum scrub_type {
#define OP_RUNNING_POLL_INTR 0x203
#define OP_OFFLINE 0x300
-extern char *edac_align_ptr(void *ptr, unsigned size);
-
/*
* There are several things to be aware of that aren't at all obvious:
*