Skip to contentSkip to conversation

drivers/isdn/hisax/nj_{s,u}.c fails compilation (2.4.0-test10)

PATCH New Rasmus Andersen 1 participant 1 message Nov 6, 2000

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/isdn/hisax/nj_{s,u}.c fails compilation (2.4.0-test10)

Hi.

If I compile a 2.4.0-test10 kernel without pci support I get a compile error in both drivers/isdn/hisax/nj_u.c and nj_s.c. The patch below fixes these in what I hope is the Right Way. But I am not sure, so Linus is not cc'ed on this. Please forward to him if the patches are correct.

drivers/isdn/hisax/nj_s.c +2 -3
@@ -148,11 +148,10 @@
 		return(0);
 	test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags);
 
-	for ( ;; )
-	{
-
 #if CONFIG_PCI
 
+	for ( ;; )
+	{
 		if (!pci_present()) {
 			printk(KERN_ERR "Netjet: no PCI bus present\n");
 			return(0);
drivers/isdn/hisax/nj_u.c +2 -3
@@ -150,11 +150,10 @@
 		return(0);
 	test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags);
 
-	for ( ;; )
-	{
-
 #if CONFIG_PCI
 
+	for ( ;; )
+	{
 		if (!pci_present()) {
 			printk(KERN_ERR "NETspider-U: no PCI bus present\n");
 			return(0);
Signature · 10 lines
Regards,
        Rasmus([email protected])

You know how dumb the average guy is?  Well, by  definition, half
of them are even dumber than that.
            -- J.R. "Bob" Dobbs 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/