diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-parport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c index 8c953707253f..039a07fde908 100644 --- a/drivers/i2c/busses/i2c-parport.c +++ b/drivers/i2c/busses/i2c-parport.c | |||
@@ -175,6 +175,7 @@ static void i2c_parport_attach (struct parport *port) | |||
175 | } | 175 | } |
176 | adapter->algo_data.data = port; | 176 | adapter->algo_data.data = port; |
177 | adapter->adapter.algo_data = &adapter->algo_data; | 177 | adapter->adapter.algo_data = &adapter->algo_data; |
178 | adapter->adapter.dev.parent = port->physport->dev; | ||
178 | 179 | ||
179 | if (parport_claim_or_block(adapter->pdev) < 0) { | 180 | if (parport_claim_or_block(adapter->pdev) < 0) { |
180 | printk(KERN_ERR "i2c-parport: Could not claim parallel port\n"); | 181 | printk(KERN_ERR "i2c-parport: Could not claim parallel port\n"); |