]> err.no Git - linux-2.6/blobdiff - drivers/w1/w1_family.h
[PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers
[linux-2.6] / drivers / w1 / w1_family.h
index 2995c6cb869f09f88d0cf5618d72ca343a88a1b6..b26da01bbc384c3b8b8fd627735e63e4d9cba96b 100644 (file)
@@ -1,8 +1,8 @@
 /*
- *     w1_family.h
+ *     w1_family.h
  *
  * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
- * 
+ *
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,7 +27,8 @@
 #include <asm/atomic.h>
 
 #define W1_FAMILY_DEFAULT      0
-#define W1_FAMILY_SMEM         0x01
+#define W1_FAMILY_SMEM_01      0x01
+#define W1_FAMILY_SMEM_81      0x81
 #define W1_THERM_DS18S20       0x10
 #define W1_THERM_DS1822        0x22
 #define W1_THERM_DS18B20       0x28
@@ -38,18 +39,15 @@ struct w1_family_ops
 {
        ssize_t (* rname)(struct device *, struct device_attribute *, char *);
        ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t);
-       
-       ssize_t (* rval)(struct device *, struct device_attribute *, char *);
-       unsigned char rvalname[MAXNAMELEN];
 };
 
 struct w1_family
 {
        struct list_head        family_entry;
        u8                      fid;
-       
+
        struct w1_family_ops    *fops;
-       
+
        atomic_t                refcnt;
        u8                      need_exit;
 };