]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: atmel-mci: change atmci_readl and atmci_writel macros
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 11 Aug 2011 15:25:42 +0000 (15:25 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:25 +0000 (15:43 -0400)
commitb87b71033af5cae87210f6029f06bd4301f0372f
tree2d4500c4379073c4ad3b9f7f1264e9fa0b0b17f9
parent09dd4138294362c8d93fb901ad2a7e36cc1e17d9
mmc: atmel-mci: change atmci_readl and atmci_writel macros

Change atmci_readl and atmci_writel macros: remove string concatenation.
We can use these macros with registers which are not prefixed by ATMCI_.
This is the case if we want to write PDC registers which are common to
several devices so they are not prefixed with ATMCI_.

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>
drivers/mmc/host/atmel-mci-regs.h
drivers/mmc/host/atmel-mci.c