ACPI/APD Making Module

From: Shah, Nehal-bakulchandra
Date: Mon Sep 12 2016 - 01:42:36 EST


Hi,
Current implementation of acpi_apd.c makes AMD I2C,GPIO and UART from acpi devices to platform devices. This is done as part of boot sequence. For some reason i would like to make it kernel module. The current implementation calls acpi_apd_create_device as part of attach callback. Now this entire process is part of acpi bus scan functionality. Can someone please help me if i can make this file into kernel module and still get the same functionality.

Thanks
Nehal