android_kernel_xiaomi_sm8350/scripts/mod
Thomas Renninger 29b71a1ca7 ACPI: autoload modules - Create ACPI alias interface
Modify modpost (file2alias.c) to add acpi*:XYZ0001: alias in modules.alias
like:
grep acpi /lib/modules/2.6.22-rc4-default/modules.alias
alias acpi*:SNY5001:* sony_laptop
alias acpi*:SNY6001:* sony_laptop
for e.g. the sony_laptop module.
This module matches against all ACPI devices with a HID or CID of SNY5001
or SNY6001

Export an uevent and modalias sysfs file containing the string:
[MODALIAS=]acpi:PNP0C0C:
additional CIDs are concatenated at the end.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-07-23 13:56:16 -04:00
..
.gitignore
empty.c
file2alias.c ACPI: autoload modules - Create ACPI alias interface 2007-07-23 13:56:16 -04:00
Makefile
mk_elfconfig.c blackfin architecture 2007-05-07 12:12:58 -07:00
modpost.c m68k: teach modpost about .m68_fixup 2007-07-20 08:24:49 -07:00
modpost.h kbuild: make better section mismatch reports on i386 and mips 2007-07-16 21:48:49 +02:00
sumversion.c kbuild: include limits.h in sumversion.c for PATH_MAX 2007-05-19 09:10:59 +02:00