diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:39:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:39:14 -0500 |
commit | d33a6291c1c577ff2272edab7416a0f7308e1cef (patch) | |
tree | 9efd2f6f2fbb0586af72531110acdf9e769285ab /drivers/video/nuc900fb.c | |
parent | 66dc918d42eaaa9afe42a47d07526765162017a9 (diff) | |
parent | f00117a78341e330eecebdfe74cce345ed068802 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6: (29 commits)
video: move SH_MIPI_DSI/SH_LCD_MIPI_DSI to the top of menu
fbdev: Implement simple blanking in pseudocolor modes for vt8500lcdfb
video: imx: Update the manufacturer's name
nuc900fb: don't treat NULL clk as an error
s3c2410fb: don't treat NULL clk as an error
video: tidy up modedb formatting.
video: matroxfb: Correct video option in comments and kernel config help.
fbdev: sh_mobile_hdmi: simplify pointer handling
fbdev: sh_mobile_hdmi: framebuffer notifiers have to be registered
fbdev: sh_mobile_hdmi: add command line option to use the preferred EDID mode
OMAP: DSS2: Introduce omap_channel as an omap_dss_device parameter, add new overlay manager.
OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4
OMAP: DSS2: LCD2 Channel Changes for DISPC
OMAP: DSS2: Change remaining DISPC functions for new omap_channel argument
OMAP: DSS2: Introduce omap_channel argument to DISPC functions used by interface drivers
OMAP: DSS2: Represent DISPC register defines with channel as parameter
OMAP: DSS2: Add dss_features for omap4 and overlay manager related features
OMAP: DSS2: Clean up DISPC color mode validation checks
OMAP: DSS2: Add back authors of panel-generic.c based drivers
OMAP: DSS2: remove generic DPI panel driver duplicated panel drivers
...
Diffstat (limited to 'drivers/video/nuc900fb.c')
-rw-r--r-- | drivers/video/nuc900fb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c index 81687ed26ba..62498bd662f 100644 --- a/drivers/video/nuc900fb.c +++ b/drivers/video/nuc900fb.c | |||
@@ -15,6 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/err.h> | ||
18 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
19 | #include <linux/string.h> | 20 | #include <linux/string.h> |
20 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
@@ -597,9 +598,9 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev) | |||
597 | } | 598 | } |
598 | 599 | ||
599 | fbi->clk = clk_get(&pdev->dev, NULL); | 600 | fbi->clk = clk_get(&pdev->dev, NULL); |
600 | if (!fbi->clk || IS_ERR(fbi->clk)) { | 601 | if (IS_ERR(fbi->clk)) { |
601 | printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n"); | 602 | printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n"); |
602 | ret = -ENOENT; | 603 | ret = PTR_ERR(fbi->clk); |
603 | goto release_irq; | 604 | goto release_irq; |
604 | } | 605 | } |
605 | 606 | ||