Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261749
b: refs/heads/master
c: 2bd05bf
h: refs/heads/master
i:
  261747: 7be91fc
v: v3
  • Loading branch information
Guenter Roeck committed Jul 28, 2011
1 parent 6a966c1 commit 9c6445d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0455e380b5bdf8dff7c8e29423d2446d9f59040
refs/heads/master: 2bd05bf4d2a5807dcc1c52788b842827e5ef0ee9
10 changes: 6 additions & 4 deletions trunk/drivers/hwmon/pmbus/pmbus_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@
#define PB_STATUS_INPUT_BASE (PB_STATUS_FAN34_BASE + PMBUS_PAGES)
#define PB_STATUS_TEMP_BASE (PB_STATUS_INPUT_BASE + 1)

#define PMBUS_NAME_SIZE 24

struct pmbus_sensor {
char name[I2C_NAME_SIZE]; /* sysfs sensor name */
char name[PMBUS_NAME_SIZE]; /* sysfs sensor name */
struct sensor_device_attribute attribute;
u8 page; /* page number */
u8 reg; /* register */
Expand All @@ -86,14 +88,14 @@ struct pmbus_sensor {
};

struct pmbus_boolean {
char name[I2C_NAME_SIZE]; /* sysfs boolean name */
char name[PMBUS_NAME_SIZE]; /* sysfs boolean name */
struct sensor_device_attribute attribute;
};

struct pmbus_label {
char name[I2C_NAME_SIZE]; /* sysfs label name */
char name[PMBUS_NAME_SIZE]; /* sysfs label name */
struct sensor_device_attribute attribute;
char label[I2C_NAME_SIZE]; /* label */
char label[PMBUS_NAME_SIZE]; /* label */
};

struct pmbus_data {
Expand Down

0 comments on commit 9c6445d

Please sign in to comment.