summaryrefslogtreecommitdiff
path: root/include/linux/atmel_pdc.h
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2011-08-11 15:25:46 +0000
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:26 -0400
commit1ebbe3d31fd96865b4d4874f3c74fef0e386fb79 (patch)
tree78759bbced46adc4dc5bc3302b8a2be6aa2dcd2a /include/linux/atmel_pdc.h
parent11d1488b01b803254842b756ff7662085b37970e (diff)
downloadlwn-1ebbe3d31fd96865b4d4874f3c74fef0e386fb79.tar.gz
lwn-1ebbe3d31fd96865b4d4874f3c74fef0e386fb79.zip
mmc: atmel-mci: use ATMEL_PDC_SCND_BUF_OFF instead of a literal value
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/atmel_pdc.h')
-rw-r--r--include/linux/atmel_pdc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/atmel_pdc.h b/include/linux/atmel_pdc.h
index 5058a31d2ce8..63499ce806ea 100644
--- a/include/linux/atmel_pdc.h
+++ b/include/linux/atmel_pdc.h
@@ -33,4 +33,6 @@
#define ATMEL_PDC_PTSR 0x124 /* Transfer Status Register */
+#define ATMEL_PDC_SCND_BUF_OFF 0x10 /* Offset between first and second buffer registers */
+
#endif