diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/eisa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/eisa.h b/include/linux/eisa.h index e61c0be..6925249 100644 --- a/include/linux/eisa.h +++ b/include/linux/eisa.h @@ -78,12 +78,12 @@ static inline void eisa_driver_unregister (struct eisa_driver *edrv) { } /* Mimics pci.h... */ static inline void *eisa_get_drvdata (struct eisa_device *edev) { - return edev->dev.driver_data; + return dev_get_drvdata(&edev->dev); } static inline void eisa_set_drvdata (struct eisa_device *edev, void *data) { - edev->dev.driver_data = data; + dev_set_drvdata(&edev->dev, data); } /* The EISA root device. There's rumours about machines with multiple |