diff options
author | Lily Zhang <r58066@freescale.com> | 2011-06-14 20:46:08 +0800 |
---|---|---|
committer | Alex Gonzalez <alex.gonzalez@digi.com> | 2011-12-15 17:11:44 +0100 |
commit | 3e18a98625c8ea054ff36b58bfe38bca4cfaa9b6 (patch) | |
tree | f0e267fa2619d17b717283d0ee061691860eeca9 /drivers | |
parent | 69c2001f21b3495dd73f1afc7af676ebd2704bb8 (diff) |
ENGR00151476-2 ipu,mc13892,gps: remove build warning message
Remove build warning message from ipu, mc13892 and gps drivers
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mxc/gps_ioctrl/agpsgpiodev.c | 4 | ||||
-rw-r--r-- | drivers/video/mxc/mxc_ipuv3_fb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mxc/gps_ioctrl/agpsgpiodev.c b/drivers/mxc/gps_ioctrl/agpsgpiodev.c index 9b2afef24075..b3f192e68652 100644 --- a/drivers/mxc/gps_ioctrl/agpsgpiodev.c +++ b/drivers/mxc/gps_ioctrl/agpsgpiodev.c @@ -1,5 +1,5 @@ /* - * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -217,7 +217,7 @@ void cleanup_chrdev(void) * * @return 0 on success, -1 otherwise. */ -static int __init gps_ioctrl_probe(struct platform_device *pdev) +static int __devinit gps_ioctrl_probe(struct platform_device *pdev) { struct regulator *gps_regu; diff --git a/drivers/video/mxc/mxc_ipuv3_fb.c b/drivers/video/mxc/mxc_ipuv3_fb.c index 4f9e841e97dc..0b259a1360a1 100644 --- a/drivers/video/mxc/mxc_ipuv3_fb.c +++ b/drivers/video/mxc/mxc_ipuv3_fb.c @@ -1718,9 +1718,9 @@ static int mxcfb_setup(struct fb_info *fbi, struct platform_device *pdev) mxcfb_adjust(mxcfbi); #endif if (mxcfbi->ipu_di >= 0) { - const struct fb_videomode *mode; + const struct fb_videomode *mode = NULL; struct fb_videomode m; - int num, found = 0; + int num = 0, found = 0; dev_dbg(fbi->device, "Config display port %d\n", mxcfbi->ipu_di); |