diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-11-08 13:58:26 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-11-10 08:41:23 +0100 |
commit | 8e8e46a6036f5e0eefdbf6e0ed43b3581d488aa7 (patch) | |
tree | 22e4134f304112ff189f19cfaf7d57e6f1cdb23f /drivers/parport | |
parent | parisc/pgtable: Do not drop upper 5 address bits of physical address (diff) | |
download | linux-8e8e46a6036f5e0eefdbf6e0ed43b3581d488aa7.tar.xz linux-8e8e46a6036f5e0eefdbf6e0ed43b3581d488aa7.zip |
parport: gsc: mark init function static
This is only used locally, so mark it static to avoid a warning:
drivers/parport/parport_gsc.c:395:5: error: no previous prototype for 'parport_gsc_init' [-Werror=missing-prototypes]
Acked-by: Helge Deller <deller@gmx.de>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parport')
-rw-r--r-- | drivers/parport/parport_gsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 5e4475254bd0..c7e18382dc01 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c @@ -392,7 +392,7 @@ static struct parisc_driver parport_driver __refdata = { .remove = __exit_p(parport_remove_chip), }; -int parport_gsc_init(void) +static int parport_gsc_init(void) { return register_parisc_driver(&parport_driver); } |