drivers/hid/usbhid/Makefile

Source file repositories/reference/linux-study-clean/drivers/hid/usbhid/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/hid/usbhid/Makefile
Extension
[no extension]
Size
291 bytes
Lines
14
Domain
Driver Families
Bucket
drivers/hid
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the USB input drivers
#

usbhid-y	:= hid-core.o
usbhid-$(CONFIG_USB_HIDDEV)	+= hiddev.o
usbhid-$(CONFIG_HID_PID)	+= hid-pidff.o

obj-$(CONFIG_USB_HID)		+= usbhid.o
obj-$(CONFIG_USB_KBD)		+= usbkbd.o
obj-$(CONFIG_USB_MOUSE)		+= usbmouse.o

Annotation

Implementation Notes