]> asedeno.scripts.mit.edu Git - linux.git/commit
media: atomisp: deprecate pci_get_bus_and_slot()
authorSinan Kaya <okaya@codeaurora.org>
Mon, 27 Nov 2017 16:57:59 +0000 (11:57 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 29 Dec 2017 11:21:38 +0000 (06:21 -0500)
commit2c5ff866129f1fa628d79ec557f132171eb9d13d
tree8299a93a61dd46d2d4b778cd30e2a8d0b58863f7
parent456e7b1804f762e406297a663e43b2c14e386e75
media: atomisp: deprecate pci_get_bus_and_slot()

pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as
where a PCI device is present. This restricts the device drivers to be
reused for other domain numbers.

Getting ready to remove pci_get_bus_and_slot() function. Since ISP always
uses domain 0, hard-code it in the code when calling the replacement
function pci_get_domain_bus_and_slot().

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c