[PATCH] visws: linkage fix
authorTom Duffy <thomas.duffy.99@alumni.brown.edu>
Sun, 7 Aug 2005 16:42:23 +0000 (09:42 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 7 Aug 2005 17:00:38 +0000 (10:00 -0700)
This patch add stubs to allow the visws subarch to link again.

Signed-off-by: Tom Duffy <thomas.duffy.99@alumni.brown.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mach-visws/setup.c
arch/i386/pci/visws.c

index 9f6d2d9b1be7b2100c518a128160136b416dc8d7..26ada6fc0d774f082f5379550ef1e9063f8a0f2d 100644 (file)
@@ -14,6 +14,8 @@
 #include "cobalt.h"
 #include "piix4.h"
 
+int no_broadcast;
+
 char visws_board_type = -1;
 char visws_board_rev = -1;
 
index 314c933b6b8e6ab5b49cf31727ad2defde15321f..6c17433fdf7ddb8b9d5d8dfa3d40626136933bb5 100644 (file)
 extern struct pci_raw_ops pci_direct_conf1;
 
 static int pci_visws_enable_irq(struct pci_dev *dev) { return 0; }
+static void pci_visws_disable_irq(struct pci_dev *dev) { }
 
 int (*pcibios_enable_irq)(struct pci_dev *dev) = &pci_visws_enable_irq;
+void (*pcibios_disable_irq)(struct pci_dev *dev) = &pci_visws_disable_irq;
 
 void __init pcibios_penalize_isa_irq(int irq, int active) {}