Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77310
b: refs/heads/master
c: ccf60d8
h: refs/heads/master
v: v3
  • Loading branch information
Olof Johansson authored and Jean Delvare committed Jan 27, 2008
1 parent 1dd5185 commit 9f9fffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 541b6a7a69fadda82f313bd2176e7756db2b5b43
refs/heads/master: ccf60d8571f0e606b5dacf213696b7a57fe2d890
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-pasemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,15 @@ static int __devinit pasemi_smb_probe(struct pci_dev *dev,
smbus->adapter.class = I2C_CLASS_HWMON;
smbus->adapter.algo = &smbus_algorithm;
smbus->adapter.algo_data = smbus;
smbus->adapter.nr = PCI_FUNC(dev->devfn);

/* set up the sysfs linkage to our parent device */
smbus->adapter.dev.parent = &dev->dev;

reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR |
(CLK_100K_DIV & CTL_CLK_M)));

error = i2c_add_adapter(&smbus->adapter);
error = i2c_add_numbered_adapter(&smbus->adapter);
if (error)
goto out_release_region;

Expand Down

0 comments on commit 9f9fffc

Please sign in to comment.