summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_pnp.c
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-09-22 05:11:14 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-09-25 19:11:33 +0300
commit38db63baf83a4ab89335c7c6fb210ecac74fa781 (patch)
tree75d4371c723ef61e035d45148001856369d39030 /drivers/acpi/acpi_pnp.c
parent759e56d9238ec0bb964965357f8bbb30ff2ec4b6 (diff)
downloadlinux-38db63baf83a4ab89335c7c6fb210ecac74fa781.tar.xz
PNP: ACPI: Fix missing-prototypes in acpi_pnp.c
Fix the following warnings. drivers/acpi/acpi_pnp.c:382:13: warning: no previous prototype for ‘acpi_pnp_init’ [-Wmissing-prototypes]. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> [ rjw: Subject edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_pnp.c')
-rw-r--r--drivers/acpi/acpi_pnp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c
index f3039b93ff61..4ed755a963aa 100644
--- a/drivers/acpi/acpi_pnp.c
+++ b/drivers/acpi/acpi_pnp.c
@@ -11,6 +11,8 @@
#include <linux/module.h>
#include <linux/ctype.h>
+#include "internal.h"
+
static const struct acpi_device_id acpi_pnp_device_ids[] = {
/* pata_isapnp */
{"PNP0600"}, /* Generic ESDI/IDE/ATA compatible hard disk controller */