Commit 7f8c54d2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] nvidiafb-fix-mode-setting-ppc-support-warning-fixes

drivers/video/nvidia/nv_setup.c: In function `NVCommonSetup':
drivers/video/nvidia/nv_setup.c:408: warning: statement with no effect
drivers/video/nvidia/nv_setup.c:496: warning: statement with no effect
drivers/video/nvidia/nv_setup.c:504: warning: statement with no effect

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Antonino A. Daplas" <adaplas@hotpop.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 85f1503a
...@@ -46,7 +46,11 @@ int nvidia_probe_i2c_connector(struct fb_info *info, int conn, ...@@ -46,7 +46,11 @@ int nvidia_probe_i2c_connector(struct fb_info *info, int conn,
int nvidia_probe_of_connector(struct fb_info *info, int conn, int nvidia_probe_of_connector(struct fb_info *info, int conn,
u8 ** out_edid); u8 ** out_edid);
#else #else
#define nvidia_probe_of_connector(p, c, edid) (-1) static inline int nvidia_probe_of_connector(struct fb_info *info, int conn,
u8 ** out_edid)
{
return -1;
}
#endif #endif
/* in nv_accel.c */ /* in nv_accel.c */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment