]> arthur.barton.de Git - ppin.git/commitdiff
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 64449813569af1ead4e8abf0cca26154aec0a6ab..8bffd185d4a52239bad11978d79ed143a0fd0350 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