Skip to content

Commit 8e8e46a

Browse files
arndbhdeller
authored andcommitted
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 <[email protected]> Acked-by: Sudip Mukherjee <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 166b011 commit 8e8e46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/parport/parport_gsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ static struct parisc_driver parport_driver __refdata = {
392392
.remove = __exit_p(parport_remove_chip),
393393
};
394394

395-
int parport_gsc_init(void)
395+
static int parport_gsc_init(void)
396396
{
397397
return register_parisc_driver(&parport_driver);
398398
}

0 commit comments

Comments
 (0)