diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/nvidia/nv_proto.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nv_proto.h b/drivers/video/nvidia/nv_proto.h index 3d35b77a4af5..f60b1f432270 100644 --- a/drivers/video/nvidia/nv_proto.h +++ b/drivers/video/nvidia/nv_proto.h | |||
@@ -46,7 +46,11 @@ int nvidia_probe_i2c_connector(struct fb_info *info, int conn, | |||
46 | int nvidia_probe_of_connector(struct fb_info *info, int conn, | 46 | int nvidia_probe_of_connector(struct fb_info *info, int conn, |
47 | u8 ** out_edid); | 47 | u8 ** out_edid); |
48 | #else | 48 | #else |
49 | #define nvidia_probe_of_connector(p, c, edid) (-1) | 49 | static inline int nvidia_probe_of_connector(struct fb_info *info, int conn, |
50 | u8 ** out_edid) | ||
51 | { | ||
52 | return -1; | ||
53 | } | ||
50 | #endif | 54 | #endif |
51 | 55 | ||
52 | /* in nv_accel.c */ | 56 | /* in nv_accel.c */ |