diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-15 12:39:04 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-08 18:55:03 +0200 |
commit | 2293d620bef6cc76760d1790b93c8c100b1b872a (patch) | |
tree | 5d306c8baf901c19c16cb745bc9f76c846db44a1 /drivers/video/s3c-fb.c | |
parent | Merge branch 'fixes' of git://linuxtv.org/pinchartl/fbdev into fbdev-next (diff) | |
download | linux-2293d620bef6cc76760d1790b93c8c100b1b872a.tar.xz linux-2293d620bef6cc76760d1790b93c8c100b1b872a.zip |
video: s3c-fb: s3c_fb_missing_pixclock() can't be __devinit
Since s3c_fb_missing_pixclock() is called from s3c_fb_set_rgb_timing()
which is used in the suspend/resume paths it can't be marked __devinit
as this could result in it being discarded after boot.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r-- | drivers/video/s3c-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index ecb82bb4e606..70aff118b76e 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -1056,7 +1056,7 @@ static struct fb_ops s3c_fb_ops = { * * Calculate the pixel clock when none has been given through platform data. */ -static void __devinit s3c_fb_missing_pixclock(struct fb_videomode *mode) +static void s3c_fb_missing_pixclock(struct fb_videomode *mode) { u64 pixclk = 1000000000000ULL; u32 div; |