Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115896
b: refs/heads/master
c: 2a32ec2
h: refs/heads/master
v: v3
  • Loading branch information
Jim Cromie authored and Linus Torvalds committed Oct 20, 2008
1 parent e9add6e commit 4c9010d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: b267e8cdc638dfa53360d532aa56afa0ec12e6a5
refs/heads/master: 2a32ec2500514109754e07721d9d5d431a706a31
5 changes: 3 additions & 2 deletions trunk/drivers/hwmon/pc87360.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ MODULE_PARM_DESC(force_id, "Override the detected device ID");
#define FSCM 0x09 /* Logical device: fans */
#define VLM 0x0d /* Logical device: voltages */
#define TMS 0x0e /* Logical device: temperatures */
static const u8 logdev[3] = { FSCM, VLM, TMS };
#define LDNI_MAX 3
static const u8 logdev[LDNI_MAX] = { FSCM, VLM, TMS };

#define LD_FAN 0
#define LD_IN 1
Expand Down Expand Up @@ -1074,7 +1075,7 @@ static int __devinit pc87360_probe(struct platform_device *pdev)
mutex_init(&data->update_lock);
platform_set_drvdata(pdev, data);

for (i = 0; i < 3; i++) {
for (i = 0; i < LDNI_MAX; i++) {
if (((data->address[i] = extra_isa[i]))
&& !request_region(extra_isa[i], PC87360_EXTENT,
pc87360_driver.driver.name)) {
Expand Down

0 comments on commit 4c9010d

Please sign in to comment.