mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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: ceb5ab3cb6 ("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>
This commit is contained in:
parent
8f5ae30d69
commit
f544bf03a7
|
|
@ -185,8 +185,8 @@ config MTD_POWERNV_FLASH
|
|||
|
||||
config MTD_INTEL_DG
|
||||
tristate "Intel Discrete Graphics non-volatile memory driver"
|
||||
depends on AUXILIARY_BUS
|
||||
depends on MTD
|
||||
depends on AUXILIARY_BUS && MTD
|
||||
depends on DRM_I915!=n || DRM_XE!=n || COMPILE_TEST
|
||||
help
|
||||
This provides an MTD device to access Intel Discrete Graphics
|
||||
non-volatile memory.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user