Skip to content

Commit

Permalink
Merge branches 'acpi-scan' and 'acpi-misc'
Browse files Browse the repository at this point in the history
* acpi-scan:
  ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI

* acpi-misc:
  ACPI: Update Kconfig help text for items that are no longer modular
  • Loading branch information
Rafael J. Wysocki committed Jan 8, 2021
3 parents aa7a1bb + ee61cfd + 240bdc6 commit 24e8ab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/acpi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,6 @@ config ACPI_CONTAINER

This helps support hotplug of nodes, CPUs, and memory.

To compile this driver as a module, choose M here:
the module will be called container.

config ACPI_HOTPLUG_MEMORY
bool "Memory Hotplug"
depends on MEMORY_HOTPLUG
Expand All @@ -411,9 +408,6 @@ config ACPI_HOTPLUG_MEMORY
removing memory devices at runtime, you need not enable
this driver.

To compile this driver as a module, choose M here:
the module will be called acpi_memhotplug.

config ACPI_HOTPLUG_IOAPIC
bool
depends on PCI
Expand Down
7 changes: 7 additions & 0 deletions include/linux/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,13 @@ static inline int acpi_device_modalias(struct device *dev,
return -ENODEV;
}

static inline struct platform_device *
acpi_create_platform_device(struct acpi_device *adev,
struct property_entry *properties)
{
return NULL;
}

static inline bool acpi_dma_supported(struct acpi_device *adev)
{
return false;
Expand Down

0 comments on commit 24e8ab6

Please sign in to comment.