From: Rashika Kheria Date: Fri, 13 Dec 2013 06:59:42 +0000 (+0530) Subject: drivers: misc: Mark function jp_generic_ide_ioctl() as static in lkdtm.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44629432670ce297f53702a0316a0e7bff0bd28d;p=linux-beck.git drivers: misc: Mark function jp_generic_ide_ioctl() as static in lkdtm.c This patch marks the function jp_generic_ide_ioctl() as static in lkdtm.c because it is not used outside this file. Thus, it also eliminates the following warnings in lkdtm.c: drivers/misc/lkdtm.c:227:5: warning: no previous prototype for ‘jp_generic_ide_ioctl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index a9a203d5f8d9..49c7a23f02fc 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/lkdtm.c @@ -224,7 +224,7 @@ static int jp_scsi_dispatch_cmd(struct scsi_cmnd *cmd) } #ifdef CONFIG_IDE -int jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, +static int jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, struct block_device *bdev, unsigned int cmd, unsigned long arg) {