summaryrefslogtreecommitdiff
path: root/hw/xfree86/common
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2009-02-04 00:07:40 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-04 09:45:03 +1000
commit9f60d127b5371f2853dcc53903c6ff8c7670ad1b (patch)
treeb96084d575ffd84c2de332d165fec55ce1b3ef8d /hw/xfree86/common
parenta88995dfb88719ae4a03483dc571dbbe83565285 (diff)
Fix "warning: braces around scalar initializer"
Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r--hw/xfree86/common/xf86Bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c
index 1f8e4debb..69f515229 100644
--- a/hw/xfree86/common/xf86Bus.c
+++ b/hw/xfree86/common/xf86Bus.c
@@ -66,7 +66,7 @@ xf86AccessRec AccessNULL = { noopEnableDisable, noopEnableDisable, NULL };
xf86CurrentAccessRec xf86CurrentAccess = {NULL,NULL};
-BusRec primaryBus = { BUS_NONE, {{0}}};
+BusRec primaryBus = { BUS_NONE, { 0 } };
static Bool xf86ResAccessEnter = FALSE;