mmc: dw_mmc: brackets in register access macros
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 Jun 2011 12:56:38 +0000 (13:56 +0100)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:20:59 +0000 (17:20 -0400)
commit892b1e312b179139026e366a9d70065a7f897dbc
tree348484eed378f9b367ce75ac9d12513046a4829a
parent1791b13ea4d97a6a7c162edd54485e932ad92f1b
mmc: dw_mmc: brackets in register access macros

Add brackets around use of the dev argument to the
mci_{read,write}{w,l,q}() macros, for extra safety.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.h