mmc: sdhci: Define maximum segments
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Nov 2014 10:42:43 +0000 (12:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:52 +0000 (12:40 +0100)
commit4fb213f81fe51ace7dea7d2f7cc2417fa2a2dd9e
treec6d5a9bbb6d31ca9a72c77025f85b1fa4336f06f
parent76fe379acaeb857f91705f3bd5c6f69ec13872a9
mmc: sdhci: Define maximum segments

Define the maximum number of segments instead of
having the constant 128 appearing in the code in
various places.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h