Skip to contentSkip to conversation

mmc: mxs-mmc: Move of_match_table out of CONFIG_PM

PATCH New Marek Vasut 2 participants 3 messages May 21, 2012 – Jun 6, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: mxs-mmc: Move of_match_table out of CONFIG_PM

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc linux-mmc at vger.kernel.org
Cc Chris Ball <[email protected]>
---
 drivers/mmc/host/mxs-mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/mxs-mmc.c +1 -1
index 34a9026..277161d 100644
@@ -894,8 +894,8 @@ static struct platform_driver mxs_mmc_driver = {
 		.owner	= THIS_MODULE,
 #ifdef CONFIG_PM
 		.pm	= &mxs_mmc_pm_ops,
-		.of_match_table = mxs_mmc_dt_ids,
 #endif
+		.of_match_table = mxs_mmc_dt_ids,
 	},
 };
 
Signature · 1 line
1.7.10
#1 lore raw

PATCH 1/1 mmc: mxs-mmc: Move of_match_table out of CONFIG_PM

Hi,

Quoted 15 lines · Marek Vasut
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc linux-mmc at vger.kernel.org
Cc Chris Ball <[email protected]>
---
 drivers/mmc/host/mxs-mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/mxs-mmc.c +0 -0
index 34a9026..277161d 100644

drivers/mmc/host/mxs-mmc.c static struct platform_driver mxs_mmc_driver = { · line 900

Quoted 8 lines
drivers/mmc/host/mxs-mmc.c +1 -1
@@ -894,8 +894,8 @@ static struct platform_driver mxs_mmc_driver = {
 		.owner	= THIS_MODULE,
 #ifdef CONFIG_PM
 		.pm	= &mxs_mmc_pm_ops,
-		.of_match_table = mxs_mmc_dt_ids,
 #endif
+		.of_match_table = mxs_mmc_dt_ids,
 	},
 };

Thanks, pushed to mmc-next for 3.5.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
#2 lore raw

PATCH 1/1 mmc: mxs-mmc: Move of_match_table out of CONFIG_PM

Dear Chris Ball,

Quoted 30 lines

Hi,

Quoted 27 lines · Marek Vasut
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc linux-mmc at vger.kernel.org
Cc Chris Ball <[email protected]>

---

 drivers/mmc/host/mxs-mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/mxs-mmc.c +0 -1
index 34a9026..277161d 100644
@@ -894,8 +894,8 @@ static struct platform_driver mxs_mmc_driver = {
 
 		.owner	= THIS_MODULE,
 
 #ifdef CONFIG_PM
 
 		.pm	= &mxs_mmc_pm_ops,
 
-		.of_match_table = mxs_mmc_dt_ids,
 
 #endif
Quoted 7 lines

drivers/mmc/host/mxs-mmc.c

Quoted 5 lines
drivers/mmc/host/mxs-mmc.c +1 -0
+		.of_match_table = mxs_mmc_dt_ids,
 
 	},
 
 };

Thanks, pushed to mmc-next for 3.5.

Thanks!

Quoted 1 line

- Chris.

Best regards,
Marek Vasut