Skip to content

Commit

Permalink
[PATCH] visws: linkage fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Duffy authored and Linus Torvalds committed Aug 7, 2005
1 parent 6c79d72 commit 46bdac9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/i386/mach-visws/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include "cobalt.h"
#include "piix4.h"

int no_broadcast;

char visws_board_type = -1;
char visws_board_rev = -1;

Expand Down
2 changes: 2 additions & 0 deletions arch/i386/pci/visws.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
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) {}

Expand Down

0 comments on commit 46bdac9

Please sign in to comment.