Re: [PATCH] ACPI / PNP: Fix missing-prototypes in acpi_pnp.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 22, 2020 at 4:13 AM Tian Tao <tiantao6@xxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxx>
> ---
>  drivers/acpi/acpi_pnp.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c
> index f3039b9..4ed755a 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 */
> --

Applied as 5.10 material with a minor edit in the subject, thanks!



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux