aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/hp_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c
index 0eb53d227ff6..abf4dfc8ec22 100644
--- a/drivers/hwmon/hp_accel.c
+++ b/drivers/hwmon/hp_accel.c
@@ -156,6 +156,7 @@ static struct axis_conversion lis3lv02d_axis_xy_rotated_left = {-2, 1, 3};
156static struct axis_conversion lis3lv02d_axis_xy_rotated_left_usd = {-2, 1, -3}; 156static struct axis_conversion lis3lv02d_axis_xy_rotated_left_usd = {-2, 1, -3};
157static struct axis_conversion lis3lv02d_axis_xy_swap_inverted = {-2, -1, 3}; 157static struct axis_conversion lis3lv02d_axis_xy_swap_inverted = {-2, -1, 3};
158static struct axis_conversion lis3lv02d_axis_xy_rotated_right = {2, -1, 3}; 158static struct axis_conversion lis3lv02d_axis_xy_rotated_right = {2, -1, 3};
159static struct axis_conversion lis3lv02d_axis_xy_swap_yz_inverted = {2, -1, -3};
159 160
160#define AXIS_DMI_MATCH(_ident, _name, _axis) { \ 161#define AXIS_DMI_MATCH(_ident, _name, _axis) { \
161 .ident = _ident, \ 162 .ident = _ident, \
@@ -177,9 +178,9 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = {
177 AXIS_DMI_MATCH("NC653x", "HP Compaq 653", xy_rotated_left_usd), 178 AXIS_DMI_MATCH("NC653x", "HP Compaq 653", xy_rotated_left_usd),
178 AXIS_DMI_MATCH("NC673x", "HP Compaq 673", xy_rotated_left_usd), 179 AXIS_DMI_MATCH("NC673x", "HP Compaq 673", xy_rotated_left_usd),
179 AXIS_DMI_MATCH("NC651xx", "HP Compaq 651", xy_rotated_right), 180 AXIS_DMI_MATCH("NC651xx", "HP Compaq 651", xy_rotated_right),
181 AXIS_DMI_MATCH("NC671xx", "HP Compaq 671", xy_swap_yz_inverted),
180 { NULL, } 182 { NULL, }
181/* Laptop models without axis info (yet): 183/* Laptop models without axis info (yet):
182 * "NC671xx" "HP Compaq 671"
183 * "NC6910" "HP Compaq 6910" 184 * "NC6910" "HP Compaq 6910"
184 * HP Compaq 8710x Notebook PC / Mobile Workstation 185 * HP Compaq 8710x Notebook PC / Mobile Workstation
185 * "NC2400" "HP Compaq nc2400" 186 * "NC2400" "HP Compaq nc2400"