]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Fix incompletely removed #if 0 block in sd.c
authorNishad Kamdar <nishadkamdar@gmail.com>
Thu, 6 Dec 2018 15:57:06 +0000 (21:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Dec 2018 10:57:41 +0000 (11:57 +0100)
commit59ca99c8a14a0fd02c6337bd8ced2f266d9d28a6
tree97614fbd99eca9b8fe6cc3e9ca03977528e9255f
parentb8f0bbdc879bd11be8d909b996fa1731a3d4ac08
staging: mt7621-mmc: Fix incompletely removed #if 0 block in sd.c

Commit 59bc812dce2f ("staging: mt7621-mmc: Remove #if 0 blocks in sd.c")
does not completely remove an #if 0 block in sd.c. This causes the function
msdc_select_clksrc() which was eariler not compiled, to be compiled.
That causes an error - MSDC_CLKSRC_REG is not defined.

This patch completely removes the #if 0 block

Reported-by: NeilBrown <neil@brown.name>
Fixes: 59bc812dce2f ("staging: mt7621-mmc: Remove #if 0 blocks in sd.c")
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c