Re: [PATCH 11/11] ACPI: call core init functions explicitly instead of using initcalls

Bjorn Helgaas
2008-11-06T23:40:20Z

On Thursday 06 November 2008 03:02:25 pm Len Brown wrote:
>
> +++ b/drivers/acpi/acpi.h
> ...
> +/* Functions internal to the ACPI core */
>
>
> I like the patch, except for the creation of drivers/acpi.h
> For we've already got too many files called 'acpi.h'...
> and Bob is working on a header clean-up as we speak...
>
> Maybe the existing acpi/acpi_drivers.h would be better for these
> declarations?

Sure, I can do that. I hesitate only slightly, because acpi_drivers.h
is for, well, drivers, and these are core functions and definitely not
related to drivers.

I created drivers/acpi/acpi.h following the example of drivers/pci/pci.h,
which contains things intended for the PCI core only.

Bjorn