drm/fb: fix CONFIG_DRM=m && CONFIG_FB=n
authorDave Airlie <airlied@redhat.com>
Wed, 4 May 2011 03:08:58 +0000 (13:08 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 May 2011 03:08:58 +0000 (13:08 +1000)
commitcb3c438ea4c0e638cba08bfaa8e2b64ffb8a6ce3
treebcd327649650a155e9e2427decf5f2a0e3d2c98e
parent1794d257fa7bab3ea5162f8abdca749996b65343
drm/fb: fix CONFIG_DRM=m && CONFIG_FB=n

The previous commit to move the parsing into the core drm created a
new situation and a soft dependency on the CONFIG_FB. We really don't
want to make this a hard dependency so just wrap the one place that
actually needs an fb symbol.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_modes.c