diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-05 10:10:27 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-05 12:02:33 -0400 |
commit | c0fc18c5bf016a9d56aee64974c1ccdb87f3c783 (patch) | |
tree | a5269222c380d39846d477c68264247e601a31fc /drivers/video | |
parent | 7c7095aa423b9b14038abc08fba84b9d7a33d643 (diff) |
[ARM] omap: fix lots of 'Using plain integer as NULL pointer'
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap/omapfb_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index 51a138bd113c..06a69e0345de 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c | |||
@@ -740,7 +740,7 @@ static int omapfb_update_win(struct fb_info *fbi, | |||
740 | int ret; | 740 | int ret; |
741 | 741 | ||
742 | omapfb_rqueue_lock(plane->fbdev); | 742 | omapfb_rqueue_lock(plane->fbdev); |
743 | ret = omapfb_update_window_async(fbi, win, NULL, 0); | 743 | ret = omapfb_update_window_async(fbi, win, NULL, NULL); |
744 | omapfb_rqueue_unlock(plane->fbdev); | 744 | omapfb_rqueue_unlock(plane->fbdev); |
745 | 745 | ||
746 | return ret; | 746 | return ret; |
@@ -768,7 +768,7 @@ static int omapfb_update_full_screen(struct fb_info *fbi) | |||
768 | win.format = 0; | 768 | win.format = 0; |
769 | 769 | ||
770 | omapfb_rqueue_lock(fbdev); | 770 | omapfb_rqueue_lock(fbdev); |
771 | r = fbdev->ctrl->update_window(fbi, &win, NULL, 0); | 771 | r = fbdev->ctrl->update_window(fbi, &win, NULL, NULL); |
772 | omapfb_rqueue_unlock(fbdev); | 772 | omapfb_rqueue_unlock(fbdev); |
773 | 773 | ||
774 | return r; | 774 | return r; |
@@ -1047,7 +1047,7 @@ void omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval) | |||
1047 | win.height = 2; | 1047 | win.height = 2; |
1048 | win.out_width = 2; | 1048 | win.out_width = 2; |
1049 | win.out_height = 2; | 1049 | win.out_height = 2; |
1050 | fbdev->ctrl->update_window(fbdev->fb_info[0], &win, NULL, 0); | 1050 | fbdev->ctrl->update_window(fbdev->fb_info[0], &win, NULL, NULL); |
1051 | } | 1051 | } |
1052 | omapfb_rqueue_unlock(fbdev); | 1052 | omapfb_rqueue_unlock(fbdev); |
1053 | } | 1053 | } |