From: Alexander Barton Date: Fri, 9 Oct 2009 22:17:05 +0000 (+0200) Subject: Added missing braces around initializer X-Git-Url: https://arthur.barton.de/gitweb/?p=ppin.git;a=commitdiff_plain;h=1f24071b1221f378ccc0cbe95d5b2c85aba9c381 Added missing braces around initializer 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’) --- diff --git a/ppin.c b/ppin.c index 6444981..8bffd18 100644 --- 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