diff options
Diffstat (limited to 'drivers/net/can/c_can/c_can_pci.c')
-rw-r--r-- | drivers/net/can/c_can/c_can_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/c_can/c_can_pci.c b/drivers/net/can/c_can/c_can_pci.c index 7be393c96b1a..cf7c18947189 100644 --- a/drivers/net/can/c_can/c_can_pci.c +++ b/drivers/net/can/c_can/c_can_pci.c | |||
@@ -161,6 +161,7 @@ static int c_can_pci_probe(struct pci_dev *pdev, | |||
161 | 161 | ||
162 | dev->irq = pdev->irq; | 162 | dev->irq = pdev->irq; |
163 | priv->base = addr; | 163 | priv->base = addr; |
164 | priv->device = &pdev->dev; | ||
164 | 165 | ||
165 | if (!c_can_pci_data->freq) { | 166 | if (!c_can_pci_data->freq) { |
166 | dev_err(&pdev->dev, "no clock frequency defined\n"); | 167 | dev_err(&pdev->dev, "no clock frequency defined\n"); |