[PATCH] neofb.c

Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Sat, 25 May 2002 14:02:16 +0200 (MET DST)


gcc 3.1 seems to be unhappy:
neofb.c:2321: initialized causes a section type conflict

the simple patch for this would be:
===== neofb.c 1.8 vs edited =====
--- 1.8/drivers/video/neofb.c Thu May 2 00:56:02 2002
+++ edited/neofb.c Sat May 25 18:50:14 2002
@@ -2318,10 +2318,10 @@
return 0;
}

-static int __init initialized = 0;
-
int __init neofb_init(void)
{
+ static int initialized = 0;
+
DBG("neofb_init");

if (disabled)

-- 
in some way i do, and in some way i don't.

- 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/