summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 69a86bb72..88afe3d83 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -592,6 +592,8 @@ static inline struct proc_dir_entry *proc_create_data(const char *a,
( h ), \
( x ) ) )
+#define dev_name(dev) ((dev)->bus_id)
+
#endif
#endif