]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: intel/ipu6: Replace deprecated PCI functions
authorPhilipp Stanner <phasta@kernel.org>
Fri, 4 Apr 2025 13:53:43 +0000 (15:53 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:29 +0000 (10:15 +0200)
commit3bb6339e2a133abf8e48d12114e6bb11820e36c0
tree9767c002bcc9c74312a7fd372072865393195aea
parent4e228c365d85a03d08c7f555011919f4b6353dcd
media: intel/ipu6: Replace deprecated PCI functions

pcim_iomap_table() and pcim_iomap_regions() have been deprecated.
Furthermore, the "name" parameter in pcim_iomap_regions() and its
successor, pcim_iomap_region(), should always reflect the driver name,
whereas currently it is the device's name.

Replace the deprecated functions with pcim_iomap_region() and pass the
actual driver name.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/pci/intel/ipu6/ipu6.c