The function is defined in a header file when HAVE_DVBV5_REMOTE is not
set. It needs to be marked as static inline.

Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
---
 lib/include/libdvbv5/dvb-dev.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/include/libdvbv5/dvb-dev.h b/lib/include/libdvbv5/dvb-dev.h
index da42671143a5..02b87016a3d3 100644
--- a/lib/include/libdvbv5/dvb-dev.h
+++ b/lib/include/libdvbv5/dvb-dev.h
@@ -449,8 +449,11 @@ int dvb_dev_remote_init(struct dvb_device *d, char 
*server, int port);
 
 #else
 
-int dvb_dev_remote_init(struct dvb_device *d, char *server, int port)
-{ return -1; };
+static inline int dvb_dev_remote_init(struct dvb_device *d, char *server,
+                                     int port)
+{
+       return -1;
+};
 
 #endif
 
-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to