Browse Source

mmc: mxs-mmc: Move of_match_table out of CONFIG_PM

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Marek Vasut 13 years ago
parent
commit
a3e545e9ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/host/mxs-mmc.c

+ 1 - 1
drivers/mmc/host/mxs-mmc.c

@@ -894,8 +894,8 @@ static struct platform_driver mxs_mmc_driver = {
 		.owner	= THIS_MODULE,
 		.owner	= THIS_MODULE,
 #ifdef CONFIG_PM
 #ifdef CONFIG_PM
 		.pm	= &mxs_mmc_pm_ops,
 		.pm	= &mxs_mmc_pm_ops,
-		.of_match_table = mxs_mmc_dt_ids,
 #endif
 #endif
+		.of_match_table = mxs_mmc_dt_ids,
 	},
 	},
 };
 };