mmc: dw_mmc: use macro to define ring buffer size
commitcc190d4c6499b1b3fca6693866df62cad18ed833
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 2 Sep 2016 04:14:39 +0000 (2 12:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:36 +0000 (26 21:31 +0200)
tree6d746791a2468f90b364435b1d945618ee7a9c9b
parentd12d0cb1d7dc00605112bf1d5dcc157f2908a068
mmc: dw_mmc: use macro to define ring buffer size

It's very prone to make mistake as we might forget
to replace all PAGE_SIZEs with new values if we try
to modify the ring buffer size for whatever reasons.
Let's use a macro to define it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c