From 1f24071b1221f378ccc0cbe95d5b2c85aba9c381 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 10 Oct 2009 00:17:05 +0200 Subject: [PATCH] Added missing braces around initializer MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2