This patch is to fix the following warnings:
drivers/video/mxc/mxc_epdc_fb.c:5062:2: warning: initialization from
incompatible pointer type [enabled by default]
drivers/video/mxc/mxc_epdc_fb.c:5062:2: warning: (near initialization for
'mxc_epdc_fb_driver.shutdown') [enabled by default]
Signed-off-by: Robby Cai <R63905@freescale.com>
/*
- * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return 0;
}
-static int mxc_epdc_fb_shutdown(struct platform_device *pdev)
+static void mxc_epdc_fb_shutdown(struct platform_device *pdev)
{
struct mxc_epdc_fb_data *fb_data = platform_get_drvdata(pdev);
/* turn off the V3p3 */
regulator_disable(fb_data->v3p3_regulator);
-
- return 0;
}
#else
#define mxc_epdc_fb_suspend NULL