summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2006-08-31 17:30:24 +0100
committerMatthew Allum <mallum@openedhand.com>2006-08-31 17:30:24 +0100
commit69d5becce4ca2cfc8f8de53672ed54a47de62164 (patch)
tree7ff057cbbfe8725b315130dcbbee3737100e6bf0
parentfd609956f27d76ee76ac8623787f0fc8633a5546 (diff)
Fix previous commit breaking other kdrives pulling in fbdev.a
-rw-r--r--hw/kdrive/fbdev/fbdev.c2
-rw-r--r--hw/kdrive/fbdev/fbinit.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c
index 904d5f315..20bf75800 100644
--- a/hw/kdrive/fbdev/fbdev.c
+++ b/hw/kdrive/fbdev/fbdev.c
@@ -33,6 +33,8 @@
extern int KdTsPhyScreen;
+char *fbdevDevicePath = NULL;
+
Bool
fbdevInitialize (KdCardInfo *card, FbdevPriv *priv)
{
diff --git a/hw/kdrive/fbdev/fbinit.c b/hw/kdrive/fbdev/fbinit.c
index 1a7e4bff2..ee373276b 100644
--- a/hw/kdrive/fbdev/fbinit.c
+++ b/hw/kdrive/fbdev/fbinit.c
@@ -77,7 +77,7 @@ ddxProcessArgument (int argc, char **argv, int i)
return KdProcessArgument (argc, argv, i);
}
-char *fbdevDevicePath = NULL;
+
KdCardFuncs fbdevFuncs = {
fbdevCardInit, /* cardinit */
fbdevScreenInit, /* scrinit */