[PATCH 2/2] drm: make unplugged flag specific to udl driver

David Herrmann dh.herrmann at gmail.com
Wed Feb 10 21:40:03 UTC 2016


Hi

On Wed, Feb 10, 2016 at 10:38 PM, Haixia Shi <hshi at chromium.org> wrote:
> David
>
> I am having trouble getting the reference to "drm_global_mutex" to link
> correctly in drm/udl. The error is
>
> ERROR: "drm_global_mutex" [drivers/gpu/drm/udl/udl.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> This seems to be only accessed in the common drm code. Do you have a
> suggestion how to get around it?

You need to add:
    EXPORT_SYMBOL(drm_global_mutex);

Thanks
David


More information about the dri-devel mailing list