Skip to content

Commit

Permalink
PNP: ACPI: Fix missing-prototypes in acpi_pnp.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tian Tao authored and Rafael J. Wysocki committed Sep 25, 2020
1 parent 759e56d commit 38db63b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/acpi/acpi_pnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 38db63b

Please sign in to comment.