https://github.com/torvalds/linux
Revision 5d9955f8a978c1992a0f9966d22c43471214d43b authored by Laurent Pinchart on 10 July 2010, 19:13:05 UTC, committed by Mauro Carvalho Chehab on 11 July 2010, 20:45:10 UTC
The UVC gadget driver borrowed code from the UVC host driver without
changing the symbol names. This results in a namespace clash with
multiple definitions of several symbols when compiling both drivers in
the kernel.

Make all generic UVC functions and variables static in the UVC gadget
driver, as the symbols are not referenced outside of the gadget driver.
Rename the uvc_trace_param global variable to uvc_gadget_trace_param.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent b6ae906
History
Tip revision: 5d9955f8a978c1992a0f9966d22c43471214d43b authored by Laurent Pinchart on 10 July 2010, 19:13:05 UTC
V4L/DVB: uvc: Fix multiple symbols definitions with UVC gadget and host drivers
Tip revision: 5d9955f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 170.3 KB
Makefile -rw-r--r-- 50.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top