]> Gentwo Git Trees - linux/.git/commit
mtd: MTD_INTEL_DG should depend on DRM_I915 or DRM_XE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 31 Jul 2025 08:35:14 +0000 (10:35 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 28 Aug 2025 12:22:48 +0000 (14:22 +0200)
commitf544bf03a771ee746b908e9a08ecb97c65a35055
tree1cc8ec036f1c2989c786cb738f9ff96dbf5adaf6
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
mtd: MTD_INTEL_DG should depend on DRM_I915 or DRM_XE

Intel Discrete Graphics non-volatile memory is only present on Intel
discrete graphics devices, and its auxiliary device is instantiated by
the Intel i915 and Xe2 DRM drivers.  Hence add dependencies on DRM_I915
and DRM_XE, to prevent asking the user about this driver when
configuring a kernel without Intel graphics support.

Fixes: ceb5ab3cb6463795 ("mtd: add driver for intel graphics non-volatile memory device")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/devices/Kconfig