[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix build error.

  CC	fds/drm.o
fds/drm.c: In function ‘open_drm_fds’:
fds/drm.c:120:3: error: ‘drm_fd_provider’ undeclared (first use in this function)
   drm_fd_provider.enabled = FALSE;
   ^

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxxxxxx>
---
 fds/drm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fds/drm.c b/fds/drm.c
index d33b00e4be51..54cc0faa8d1a 100644
--- a/fds/drm.c
+++ b/fds/drm.c
@@ -71,6 +71,8 @@ static void add_drm_obj(int fd)
 	output(2, "fd[%d] = drm\n", fd);
 }
 
+static struct fd_provider drm_fd_provider;
+
 static int open_drm_fds(void)
 {
 	struct objhead *head;
-- 
2.7.4

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



[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux