aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_io.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-13 17:04:33 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 20:28:12 -0500
commita9fb1c7b950bed4afe208c9d67e20f086bb6abbb (patch)
tree496c2b8b292411a6163dc451b8dab82665a8ab99 /drivers/w1/w1_io.c
parentbaf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 (diff)
[PATCH] w1: misc cleanups
This patch contains the following cleanups: - make needlessly global code static - declarations for global code belong into header files - w1.c: #if 0 the unused struct w1_slave_device Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_io.c')
-rw-r--r--drivers/w1/w1_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c
index e2a043354ddf..f7f7e8bec30e 100644
--- a/drivers/w1/w1_io.c
+++ b/drivers/w1/w1_io.c
@@ -28,7 +28,7 @@
28#include "w1_log.h" 28#include "w1_log.h"
29#include "w1_io.h" 29#include "w1_io.h"
30 30
31int w1_delay_parm = 1; 31static int w1_delay_parm = 1;
32module_param_named(delay_coef, w1_delay_parm, int, 0); 32module_param_named(delay_coef, w1_delay_parm, int, 0);
33 33
34static u8 w1_crc8_table[] = { 34static u8 w1_crc8_table[] = {