OpenCloudOS-Kernel/drivers/gpu/drm/pl111
Linus Walleij 0a4587a034 drm/pl111: Fix module probe bug
Commit a30933c27602 ("drm/pl111: Support the Versatile Express")
Added a second module using the builtin_platform_driver() call,
which works fine as long as you do not try to build the PL111
driver as a module, because a module can only have one initcall
and cause the following build bug:

(...) multiple definition of `init_module' (...)

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: a30933c27602 ("drm/pl111: Support the Versatile Express")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180503140431.5798-1-linus.walleij@linaro.org
2018-05-04 00:13:41 +02:00
..
Kconfig drm/pl111: Remove reverse dependency on DRM_DUMB_VGA_DAC 2018-02-26 11:04:51 +05:30
Makefile drm/pl111: Support the Versatile Express 2018-05-02 19:13:28 +02:00
pl111_debugfs.c drm/pl111: Add all registers to debugfs 2017-09-10 23:57:57 +02:00
pl111_display.c drm/pl111: Use simple_display_pipe prepare_fb helper 2018-04-24 13:58:24 +02:00
pl111_drm.h drm/pl111: Enable device-specific assigned memory 2018-05-02 19:13:42 +02:00
pl111_drv.c drm/pl111: Enable device-specific assigned memory 2018-05-02 19:13:42 +02:00
pl111_versatile.c drm/pl111: Fix module probe bug 2018-05-04 00:13:41 +02:00
pl111_versatile.h drm/pl111: Add handling of Versatile platforms 2017-09-10 23:58:42 +02:00
pl111_vexpress.c drm/pl111: Fix module probe bug 2018-05-04 00:13:41 +02:00
pl111_vexpress.h drm/pl111: Fix module probe bug 2018-05-04 00:13:41 +02:00