mmc: mvsdio: avoid compiler warning
authorArnd Bergmann <[email protected]>
Thu, 5 Jun 2014 21:14:39 +0000 (23:14 +0200)
committerUlf Hansson <[email protected]>
Thu, 12 Jun 2014 08:50:27 +0000 (10:50 +0200)
commitd7fe833f3fc9a02806c96dd28f48e5e28c8484a8
treebc09795e0077d2755541244979561319a0c7ea55
parentbf614c7a214592c4cd2a2ccffc0f43539437af6b
mmc: mvsdio: avoid compiler warning

gcc correctly points out that hw_state can be used uninitially
in the mvsd_setup_data() function. This rearranges the function
to ensure it always contains a proper value.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Chris Ball <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: [email protected]
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/mvsdio.c