Files
linux/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 <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: Robin Murphy <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Fixes: a30933c27602 ("drm/pl111: Support the Versatile Express")
Signed-off-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2018-05-04 00:13:41 +02:00
..