]> git.neil.brown.name Git - history.git/commitdiff
[SPARC64]: Fix CONFIG_DRM_FFB=y build.
authorCiaran McCreesh <ciaranm@gentoo.org>
Mon, 5 Jan 2004 05:00:05 +0000 (21:00 -0800)
committerKeith M. Wesolowski <wesolows@foobazco.org>
Mon, 5 Jan 2004 05:00:05 +0000 (21:00 -0800)
drivers/char/drm/ffb_drv.c

index 1ee76721cdb6cc0efdd4a677834c8f22cda6ee99..765355999b6596f619a36f29472f8a4c1d513c56 100644 (file)
@@ -372,25 +372,6 @@ static int ffb_presetup(drm_device_t *dev)
        return ret;
 }
 
-#ifndef MODULE
-/* DRM(options) is called by the kernel to parse command-line options
- * passed via the boot-loader (e.g., LILO).  It calls the insmod option
- * routine, drm_parse_drm.
- */
-
-/* JH- We have to hand expand the string ourselves because of the cpp.  If
- * anyone can think of a way that we can fit into the __setup macro without
- * changing it, then please send the solution my way.
- */
-static int __init ffb_options(char *str)
-{
-       DRM(parse_options)(str);
-       return 1;
-}
-
-__setup(DRIVER_NAME "=", ffb_options);
-#endif
-
 #include "drm_fops.h"
 #include "drm_init.h"
 #include "drm_ioctl.h"