summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h
diff options
context:
space:
mode:
authorAndy Shevchenko2017-12-19 21:59:53 +0100
committerMauro Carvalho Chehab2017-12-29 12:27:34 +0100
commite583bfbf635247ffc156e5d0ed495d531f23e790 (patch)
tree75fa2dba5e840dae01635e6cfe53d42b22cbd13b /drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.h
parentmedia: staging: atomisp: Remove non-ACPI leftovers (diff)
downloadkernel-qcow2-linux-e583bfbf635247ffc156e5d0ed495d531f23e790.tar.gz
kernel-qcow2-linux-e583bfbf635247ffc156e5d0ed495d531f23e790.tar.xz
kernel-qcow2-linux-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.h5
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__ */