diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-27 03:54:47 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-27 03:54:47 -0400 |
| commit | aa7eb8e78d8ecd6cd0475d86ea8385ff9cb47ece (patch) | |
| tree | 3f9e98fadd5124fb05e8f6f9b06aa23698d4f215 /include/linux/sysdev.h | |
| parent | cca8edfd2ec2a34d9f50f593bc753bb11e1bc1f5 (diff) | |
| parent | 3c6b50141ef9f0a8844bf1357b80c0cdf518bf05 (diff) | |
Merge branch 'next' into for-linus
Diffstat (limited to 'include/linux/sysdev.h')
| -rw-r--r-- | include/linux/sysdev.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h index dfb078db8ebb..d35e783a598c 100644 --- a/include/linux/sysdev.h +++ b/include/linux/sysdev.h | |||
| @@ -34,12 +34,6 @@ struct sysdev_class { | |||
| 34 | struct list_head drivers; | 34 | struct list_head drivers; |
| 35 | struct sysdev_class_attribute **attrs; | 35 | struct sysdev_class_attribute **attrs; |
| 36 | struct kset kset; | 36 | struct kset kset; |
| 37 | #ifndef CONFIG_ARCH_NO_SYSDEV_OPS | ||
| 38 | /* Default operations for these types of devices */ | ||
| 39 | int (*shutdown)(struct sys_device *); | ||
| 40 | int (*suspend)(struct sys_device *, pm_message_t state); | ||
| 41 | int (*resume)(struct sys_device *); | ||
| 42 | #endif | ||
| 43 | }; | 37 | }; |
| 44 | 38 | ||
| 45 | struct sysdev_class_attribute { | 39 | struct sysdev_class_attribute { |
| @@ -77,11 +71,6 @@ struct sysdev_driver { | |||
| 77 | struct list_head entry; | 71 | struct list_head entry; |
| 78 | int (*add)(struct sys_device *); | 72 | int (*add)(struct sys_device *); |
| 79 | int (*remove)(struct sys_device *); | 73 | int (*remove)(struct sys_device *); |
| 80 | #ifndef CONFIG_ARCH_NO_SYSDEV_OPS | ||
| 81 | int (*shutdown)(struct sys_device *); | ||
| 82 | int (*suspend)(struct sys_device *, pm_message_t state); | ||
| 83 | int (*resume)(struct sys_device *); | ||
| 84 | #endif | ||
| 85 | }; | 74 | }; |
| 86 | 75 | ||
| 87 | 76 | ||
