drm: Avoid circular dependencies for CONFIG_FB
authorKees Cook <keescook@chromium.org>
Wed, 2 Jun 2021 21:52:50 +0000 (14:52 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Jun 2021 08:47:44 +0000 (10:47 +0200)
commitf611b1e7624ccdbd495c19e9805629e22265aa16
tree5f84ad79d066bcb2e8b3da02000a14b38d0be835
parentff323d6d72e1e4971c8ba9e2f3cf8afc48f22383
drm: Avoid circular dependencies for CONFIG_FB

When cleaning up other drm config dependencies, it is too easy to create
larger problems. Instead, mark CONFIG_FB as a "depends":

drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!

Suggested-by: Arnd Bergmann <arnd@kernel.org>
Link: https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
[danvet: Rebase, the symbol has changed.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602215252.695994-2-keescook@chromium.org
drivers/gpu/drm/Kconfig