diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 5bbf876d9..c6feb5456 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -44,7 +44,7 @@ #include "xf86platformBus.h" #include "xf86pciBus.h" #ifdef __sparc__ -#include "xf86sbusBus.h" +#include "xf86sbusBus_priv.h" #endif #ifdef __sun diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index fdd13c372..6bc6a654b 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -96,6 +96,5 @@ extern _X_EXPORT int promGetBool(const char *prop); extern _X_EXPORT int sparcPromInit(void); extern _X_EXPORT void sparcPromClose(void); extern _X_EXPORT int sparcPromGetBool(sbusPromNodePtr pnode, const char *prop); -extern _X_EXPORT char *sparcDriverName(void); #endif /* _XF86_SBUSBUS_H */ diff --git a/hw/xfree86/common/xf86sbusBus_priv.h b/hw/xfree86/common/xf86sbusBus_priv.h index 7b52f6f31..56227dbef 100644 --- a/hw/xfree86/common/xf86sbusBus_priv.h +++ b/hw/xfree86/common/xf86sbusBus_priv.h @@ -18,5 +18,6 @@ char *sparcPromGetProperty(sbusPromNodePtr pnode, const char *prop, int *lenp); void sparcPromAssignNodes(void); char *sparcPromNode2Pathname(sbusPromNodePtr pnode); int sparcPromPathname2Node(const char *pathName); +char *sparcDriverName(void); #endif /* _XSERVER_XF86_SBUSBUS_H */