From 37257fe8b729127599bf41deb9c65c18e626fd79 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Sun, 4 Jan 2004 21:00:05 -0800 Subject: [PATCH] [SPARC64]: Fix CONFIG_DRM_FFB=y build. --- drivers/char/drm/ffb_drv.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/drivers/char/drm/ffb_drv.c b/drivers/char/drm/ffb_drv.c index 1ee76721cdb6c..765355999b659 100644 --- a/drivers/char/drm/ffb_drv.c +++ b/drivers/char/drm/ffb_drv.c @@ -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" -- 2.53.0