Message ID | 1302506578-21676-1-git-send-email-jg1.han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, Apr 11, 2011 at 04:22:58PM +0900, Jingoo Han wrote: > This patch makes runtime pm functions static. > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> On Mon, Apr 11, 2011 at 04:25:37PM +0900, Jingoo Han wrote: > The spinlock is added to interrupt routine to ensure that the driver > is protected against multiple accesses. > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> Both applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 6817d18..832c7e5 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -1547,7 +1547,7 @@ static int s3c_fb_resume(struct device *dev) return 0; } -int s3c_fb_runtime_suspend(struct device *dev) +static int s3c_fb_runtime_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct s3c_fb *sfb = platform_get_drvdata(pdev); @@ -1567,7 +1567,7 @@ int s3c_fb_runtime_suspend(struct device *dev) return 0; } -int s3c_fb_runtime_resume(struct device *dev) +static int s3c_fb_runtime_resume(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct s3c_fb *sfb = platform_get_drvdata(pdev);
This patch makes runtime pm functions static. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/video/s3c-fb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)