mmc: omap_hsmmc: Check if MMC slot name is passed in pdata
authorTony Lindgren <tony@atomide.com>
Tue, 26 Apr 2016 23:46:23 +0000 (16:46 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:35:45 +0000 (10:35 +0200)
commitdb863d8966818d3af3e415b5f60fcfeceba803c6
treeb827a53d3073baca429a0c4ee295643b0ad1ce0e
parentab22f516715086760cd01862d60afc0dd3ff30b3
mmc: omap_hsmmc: Check if MMC slot name is passed in pdata

The legacy user space for n900 relies on the MMC slot names.
Let's check if those are passed in pdata and use them.

As this makes the DT booting compatible with legacy booting,
we should be able to start dropping omap3 legacy booting
support in v4.8.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: linux-mmc@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c