diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mlxreg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/platform_data/mlxreg.h b/include/linux/platform_data/mlxreg.h index 19f5cb618c55..1b2f86f96743 100644 --- a/include/linux/platform_data/mlxreg.h +++ b/include/linux/platform_data/mlxreg.h | |||
| @@ -61,6 +61,7 @@ struct mlxreg_hotplug_device { | |||
| 61 | * @reg: attribute register; | 61 | * @reg: attribute register; |
| 62 | * @mask: attribute access mask; | 62 | * @mask: attribute access mask; |
| 63 | * @bit: attribute effective bit; | 63 | * @bit: attribute effective bit; |
| 64 | * @capability: attribute capability register; | ||
| 64 | * @mode: access mode; | 65 | * @mode: access mode; |
| 65 | * @np - pointer to node platform associated with attribute; | 66 | * @np - pointer to node platform associated with attribute; |
| 66 | * @hpdev - hotplug device data; | 67 | * @hpdev - hotplug device data; |
| @@ -72,6 +73,7 @@ struct mlxreg_core_data { | |||
| 72 | u32 reg; | 73 | u32 reg; |
| 73 | u32 mask; | 74 | u32 mask; |
| 74 | u32 bit; | 75 | u32 bit; |
| 76 | u32 capability; | ||
| 75 | umode_t mode; | 77 | umode_t mode; |
| 76 | struct device_node *np; | 78 | struct device_node *np; |
| 77 | struct mlxreg_hotplug_device hpdev; | 79 | struct mlxreg_hotplug_device hpdev; |
| @@ -107,9 +109,9 @@ struct mlxreg_core_item { | |||
| 107 | /** | 109 | /** |
| 108 | * struct mlxreg_core_platform_data - platform data: | 110 | * struct mlxreg_core_platform_data - platform data: |
| 109 | * | 111 | * |
| 110 | * @led_data: led private data; | 112 | * @data: instance private data; |
| 111 | * @regmap: register map of parent device; | 113 | * @regmap: register map of parent device; |
| 112 | * @counter: number of led instances; | 114 | * @counter: number of instances; |
| 113 | */ | 115 | */ |
| 114 | struct mlxreg_core_platform_data { | 116 | struct mlxreg_core_platform_data { |
| 115 | struct mlxreg_core_data *data; | 117 | struct mlxreg_core_data *data; |
