diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-12-19 15:59:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-29 06:27:34 -0500 |
commit | e583bfbf635247ffc156e5d0ed495d531f23e790 (patch) | |
tree | 75fa2dba5e840dae01635e6cfe53d42b22cbd13b /drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h | |
parent | 9e993ed0536e43ff0031303e8f8d5cb2d1235019 (diff) | |
download | linux-stable-e583bfbf635247ffc156e5d0ed495d531f23e790.tar.gz linux-stable-e583bfbf635247ffc156e5d0ed495d531f23e790.tar.bz2 linux-stable-e583bfbf635247ffc156e5d0ed495d531f23e790.zip |
media: staging: atomisp: Switch to use struct device_driver directly
In a preparation of split PCI glue driver from core part, convert
the driver to use more generic struct device_driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h index b91bfef21639..7c99240d107a 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h @@ -18,8 +18,7 @@ #ifndef __ATOMISP_DRVFS_H__ #define __ATOMISP_DRVFS_H__ -extern int atomisp_drvfs_init(struct pci_driver *drv, struct atomisp_device - *isp); -extern void atomisp_drvfs_exit(void); +int atomisp_drvfs_init(struct device_driver *drv, struct atomisp_device *isp); +void atomisp_drvfs_exit(void); #endif /* __ATOMISP_DRVFS_H__ */ |