diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-13 01:59:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-18 19:41:52 -0500 |
commit | 44629432670ce297f53702a0316a0e7bff0bd28d (patch) | |
tree | 22524bb03e25bcae17c2c0ea9dc38fa96e74dbf8 /drivers/misc/lkdtm.c | |
parent | 3ecfb168a51ddf0226abe245065516bc2ebfdef5 (diff) |
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lkdtm.c')
-rw-r--r-- | drivers/misc/lkdtm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
224 | } | 224 | } |
225 | 225 | ||
226 | #ifdef CONFIG_IDE | 226 | #ifdef CONFIG_IDE |
227 | int jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, | 227 | static int jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, |
228 | struct block_device *bdev, unsigned int cmd, | 228 | struct block_device *bdev, unsigned int cmd, |
229 | unsigned long arg) | 229 | unsigned long arg) |
230 | { | 230 | { |