summaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia/nv_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/nvidia/nv_proto.h')
-rw-r--r--drivers/video/nvidia/nv_proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nv_proto.h b/drivers/video/nvidia/nv_proto.h
index 3d35b77..f60b1f4 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,
int nvidia_probe_of_connector(struct fb_info *info, int conn,
u8 ** out_edid);
#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
/* in nv_accel.c */
OpenPOWER on IntegriCloud