2.4.23-rc4 sparc64 compile problem: drivers/char/drm/ffb_drv.c

From: Andreas Beckmann
Date: Tue Nov 25 2003 - 10:52:57 EST


Compiling ffb_drv.c into the kernel (CONFIG_DRM_FFB=y) fails with
ffb_drv.c:386: error: redefinition of `ffb_options'
drm_drv.h:138: error: `ffb_options' previously defined here

Compiling it as a module (CONFIG_DRM_FFB=m) works fine.

I think this was introduced by

ChangeSet 1.1063.39.5 2003/09/01 17:05:39 m.c.p@xxxxxxxxxxxxxxx
[PATCH] Update DRI/DRM so XFree v4.3.0 and above works

when all drivers in drivers/char/drm/ except ffb*.* were modified.

Removing DRM(options) (that generates ffb_options) from ffb_drv.c makes it compile again. But ffb still needs the cleanup performed on the other drivers and possibly XFree 4.3 fixes.


Andreas

Please CC: me in your replys, as I'm not subscribed to lkml.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/