summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-mmc
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-29 20:32:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-07 05:08:04 +0300
commitace488268a903f9841c8039baeaa8eaf7b9ee422 (patch)
tree6c29d53f7fb4684708f80e281aa9f47815d9742a /drivers/staging/mt7621-mmc
parent121bdbf113c70ab7eb1efa94e3c60352a5b81b49 (diff)
downloadlinux-ace488268a903f9841c8039baeaa8eaf7b9ee422.tar.xz
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: 9673d9f6f44b ("staging: mt7621-mmc: Refactor suspend, resume") Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r--drivers/staging/mt7621-mmc/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index a003f8324088..b78f68016190 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -2689,7 +2689,7 @@ static int msdc_drv_remove(struct platform_device *pdev)
/* Fix me: Power Flow */
#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);
if (mmc) {