lkml.org 
[lkml]   [2008]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 17/33] drivers/misc: Make static
Sparse asked whether these could be static.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
drivers/misc/lkdtm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c
index 1bfe5d1..9019a1d 100644
--- a/drivers/misc/lkdtm.c
+++ b/drivers/misc/lkdtm.c
@@ -183,7 +183,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)
{
@@ -235,7 +235,7 @@ static int recursive_loop(int a)
return recursive_loop(a);
}

-void lkdtm_handler(void)
+static void lkdtm_handler(void)
{
printk(KERN_INFO "lkdtm : Crash point %s of type %s hit\n",
cpoint_name, cpoint_type);


\
 
 \ /
  Last update: 2008-12-09 20:01    [W:0.196 / U:1.076 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site