drivers/macintosh/ams/Makefile

Source file repositories/reference/linux-study-clean/drivers/macintosh/ams/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/macintosh/ams/Makefile
Extension
[no extension]
Size
247 bytes
Lines
10
Domain
Driver Families
Bucket
drivers/macintosh
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-only
#
# Makefile for Apple Motion Sensor driver
#

ams-y					:= ams-core.o ams-input.o
ams-$(CONFIG_SENSORS_AMS_PMU)		+= ams-pmu.o
ams-$(CONFIG_SENSORS_AMS_I2C)		+= ams-i2c.o
obj-$(CONFIG_SENSORS_AMS)		+= ams.o

Annotation

Implementation Notes