Added missing braces around initializer
authorAlexander Barton <alex@barton.de>
Fri, 9 Oct 2009 22:17:05 +0000 (00:17 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 9 Oct 2009 22:17:05 +0000 (00:17 +0200)
This patch fixes the folloging GCC warning:

ppin.c:85: warning: missing braces around initializer
ppin.c:85: warning: (near initialization for ‘ppin_driver.list’)

ppin.c

diff --git a/ppin.c b/ppin.c
index 6444981..8bffd18 100644 (file)
--- a/ppin.c
+++ b/ppin.c
@@ -81,7 +81,7 @@ static struct parport_driver ppin_driver = {
        PPIN_NAME,
        ppin_attach,
        ppin_detach,
-       NULL
+       {NULL}
 };
 
 static ssize_t