Commit ace48826 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Fix typo in function parameters

The type pm_message does not exist in the kernel, the correct type is
pm_message_t, so the type of the parameter is corrected.

Fixes: 9673d9f6 ("staging: mt7621-mmc: Refactor suspend, resume")
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 121bdbf1
...@@ -2689,7 +2689,7 @@ static int msdc_drv_remove(struct platform_device *pdev) ...@@ -2689,7 +2689,7 @@ static int msdc_drv_remove(struct platform_device *pdev)
/* Fix me: Power Flow */ /* Fix me: Power Flow */
#ifdef CONFIG_PM #ifdef CONFIG_PM
static void msdc_drv_pm(struct platform_device *pdev, pm_message state) static void msdc_drv_pm(struct platform_device *pdev, pm_message_t state)
{ {
struct mmc_host *mmc = platform_get_drvdata(pdev); struct mmc_host *mmc = platform_get_drvdata(pdev);
if (mmc) { if (mmc) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment