fb: remove fb_save_state() and fb_restore_state operations
[safe/jmp/linux-2.6] / include / linux / transport_class.h
index 6696cf7..9ae8da3 100644 (file)
@@ -17,11 +17,11 @@ struct transport_container;
 struct transport_class {
        struct class class;
        int (*setup)(struct transport_container *, struct device *,
-                    struct class_device *);
+                    struct device *);
        int (*configure)(struct transport_container *, struct device *,
-                        struct class_device *);
+                        struct device *);
        int (*remove)(struct transport_container *, struct device *,
-                     struct class_device *);
+                     struct device *);
 };
 
 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg)                  \
@@ -55,7 +55,7 @@ struct anon_transport_class cls = {                           \
 
 struct transport_container {
        struct attribute_container ac;
-       struct attribute_group *statistics;
+       const struct attribute_group *statistics;
 };
 
 #define attribute_container_to_transport_container(x) \