linux/drivers
Quentin Perret f4f6f40ebc ANDROID: usb: gadget: Fix dependency for f_accessory
The Android Accessory USB gadget functions use core HID functions. As
such, compiling with CONFIG_HID=m and CONFIG_USB_GADGET=y fails to link:

    drivers/usb/gadget/function/f_accessory.o: In function `acc_complete_send_hid_event':
    f_accessory.c:(.text+0xd54): undefined reference to `hid_report_raw_event'
    drivers/usb/gadget/function/f_accessory.o: In function `acc_hid_work':
    f_accessory.c:(.text+0x2a98): undefined reference to `hid_destroy_device'
    f_accessory.c:(.text+0x2ad4): undefined reference to `hid_allocate_device'
    f_accessory.c:(.text+0x2b64): undefined reference to `hid_add_device'
    f_accessory.c:(.text+0x2d04): undefined reference to `hid_destroy_device'
    drivers/usb/gadget/function/f_accessory.o: In function `acc_hid_parse':
    f_accessory.c:(.text+0x2e24): undefined reference to `hid_parse_report'
    drivers/usb/gadget/function/f_accessory.o: In function `acc_function_bind_configfs':
    f_accessory.c:(.text+0x2f8c): undefined reference to `__hid_register_driver'
    drivers/usb/gadget/function/f_accessory.o: In function `acc_function_unbind':
    f_accessory.c:(.text+0x3bc8): undefined reference to `hid_unregister_driver'
    drivers/usb/gadget/function/f_accessory.o: In function `acc_hid_probe':
    f_accessory.c:(.text+0x3ef4): undefined reference to `hid_open_report'
    f_accessory.c:(.text+0x3f18): undefined reference to `hid_hw_start'

Fix this by making the dependency on HID explicit.

Bug: 140224784
Fixes: 483cb5629e ("ANDROID: usb: gadget: f_accessory: Add Android
Accessory function")
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ibd8640d7766cc7802d8275bfe3adfa007f3318fe
2019-09-30 15:33:48 +01:00
..
accessibility
acpi libnvdimm for 5.4 2019-09-21 10:55:29 -07:00
amba ARM updates for 5.4-rc1: 2019-09-22 09:39:09 -07:00
android Merge Linus's 5.4-rc1-prerelease branch into android-mainline 2019-09-20 16:07:54 -07:00
ata for-5.4/libata-2019-09-15 2019-09-17 16:54:40 -07:00
atm
auxdisplay It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
base Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
bcma bcma: make arrays pwr_info_offset and sprom_sizes static const, shrinks object size 2019-09-13 16:44:49 +03:00
block for-5.4/block-2019-09-16 2019-09-17 16:57:47 -07:00
bluetooth Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
bus ARM: SoC: late updates for v5.4 2019-09-20 15:53:02 -07:00
cdrom
char IPMI: A few minor fixes and some cosmetic changes. 2019-09-19 14:08:45 -07:00
clk Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
clocksource Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
connector
counter
cpufreq Merge Linus's 5.4-rc1-prerelease branch into android-mainline 2019-09-20 16:07:54 -07:00
cpuidle Power management updates for 5.4-rc1 2019-09-17 19:15:14 -07:00
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00
dax
dca
devfreq
dio
dma Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
dma-buf Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
edac ARM updates for 5.4-rc1: 2019-09-22 09:39:09 -07:00
eisa
extcon chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
firewire
firmware firmware: bcm47xx_nvram: _really_ correct size_t printf format 2019-09-22 11:31:15 -07:00
fpga Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
fsi
gnss
gpio This is the bulk of pin control changes for the v5.4 kernel 2019-09-19 14:19:33 -07:00
gpu hmm related patches for 5.4 2019-09-21 10:07:42 -07:00
greybus
hid chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
hsi HSI changes for the 5.4 series 2019-09-22 12:02:21 -07:00
hv Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-17 12:35:15 -07:00
hwmon Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
hwspinlock
hwtracing Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
i2c chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
i3c
ide
idle
iio chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
infiniband RDMA subsystem updates for 5.4 2019-09-21 10:26:24 -07:00
input chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
interconnect
iommu Devicetree updates for v5.4: 2019-09-19 13:48:37 -07:00
ipack
irqchip Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
leds leds: lm3532: Fix optional led-max-microamp prop error handling 2019-09-12 20:45:52 +02:00
lightnvm
macintosh
mailbox mailbox: qcom-apcs: fix max_register value 2019-09-17 00:54:29 -05:00
mcb
md Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
media chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
memory
memstick ms_block: fix spelling mistake "randomally" -> "randomly" 2019-09-11 16:11:01 +02:00
message
mfd Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
misc Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
mmc Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
mtd Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
mux
net RDMA subsystem updates for 5.4 2019-09-21 10:26:24 -07:00
nfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
ntb
nubus
nvdimm libnvdimm for 5.4 2019-09-21 10:55:29 -07:00
nvme for-5.4/block-2019-09-16 2019-09-17 16:57:47 -07:00
nvmem Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
of Merge 5.4-rc1-prereleae into android-mainline 2019-09-23 14:14:08 +02:00
opp
oprofile
parisc dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
parport Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
pci powerpc updates for 5.4 2019-09-20 11:48:06 -07:00
pcmcia
perf
phy power supply and reset changes for the v5.4 series 2019-09-22 12:04:59 -07:00
pinctrl This is the bulk of pin control changes for the v5.4 kernel 2019-09-19 14:19:33 -07:00
platform chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
pnp
power power supply and reset changes for the v5.4 series 2019-09-22 12:04:59 -07:00
powercap Power management updates for 5.4-rc1 2019-09-17 19:15:14 -07:00
pps
ps3
ptp PTP: introduce new versions of IOCTLs 2019-09-13 15:57:02 +02:00
pwm chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
rapidio
ras
regulator LED updates for 5.4-rc1 2019-09-17 18:40:42 -07:00
remoteproc remoteproc updates for v5.4 2019-09-22 10:55:08 -07:00
reset
rpmsg rpmsg: glink-smem: Name the edge based on parent remoteproc 2019-09-17 15:33:31 -07:00
rtc RTC for 5.4 2019-09-22 11:05:43 -07:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00
sbus
scsi SCSI misc on 20190919 2019-09-21 10:50:15 -07:00
sfi
sh
siox
slimbus
soc Merge Linus's 5.4-rc1-prerelease branch into android-mainline 2019-09-20 16:07:54 -07:00
soundwire soundwire updates for v5.4-rc1 2019-09-22 10:52:23 -07:00
spi LED updates for 5.4-rc1 2019-09-17 18:40:42 -07:00
spmi
ssb ssb: make array pwr_info_offset static const, makes object smaller 2019-09-13 17:23:18 +03:00
staging ANDROID: staging: ion: make cma heap a module 2019-09-24 12:27:53 -07:00
target SCSI misc on 20190919 2019-09-21 10:50:15 -07:00
tc
tee
thermal Revert "FROMLIST: thermal: cpu_cooling: Make the power-related code depend on IPA" 2019-09-20 16:07:04 -07:00
thunderbolt
tty TTY/Serial driver changes for 5.4-rc1 2019-09-18 10:50:47 -07:00
uio Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
usb ANDROID: usb: gadget: Fix dependency for f_accessory 2019-09-30 15:33:48 +01:00
vfio VFIO updates for v5.4-rc1 2019-09-20 15:06:13 -07:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
video Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog ARM: SoC platform updates for v5.4 2019-09-16 15:48:14 -07:00
xen dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
zorro
Kconfig Staging/IIO driver patches for 5.4-rc1 2019-09-18 11:05:34 -07:00
Makefile Staging/IIO driver patches for 5.4-rc1 2019-09-18 11:05:34 -07:00