Little bug in 2.2.20/drivers/video

Krzysztof Taraszka (dzimi@ep09.kernel.pl)
Wed, 26 Dec 2001 18:55:49 +0100 (CET)


Hi, I found little bug in 2.2.20 kernel source
tree.
When I use CONFIG_FB_ATY=m it doesn't build atyfb.o, so this is my patch:

>>> -- cut here -- <<<
diff -urN linux.orig/drivers/video/Makefile
linux/drivers/video/Makefile
--- linux.orig/drivers/video/Makefile Sun Mar 25 18:37:37 2001
+++ linux/drivers/video/Makefile Wed Dec 26 15:58:08 2001
@@ -102,6 +102,10 @@

ifeq ($(CONFIG_FB_ATY),y)
L_OBJS += atyfb.o
+else
+ ifeq ($(CONFIG_FB_ATY),m)
+ M_OBJS += atyfb.o
+ endif
endif

ifeq ($(CONFIG_FB_ATY128),y)
>>> -- end here -- <<<

Krzysztof Taraszka (dzimi@pld.org.pl)

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