Little bug in 2.2.20/drivers/video

From: Krzysztof Taraszka (dzimi@ep09.kernel.pl)
Date: Wed Dec 26 2001 - 12:55:49 EST


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/



This archive was generated by hypermail 2b29 : Mon Dec 31 2001 - 21:00:12 EST