summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-12 06:54:57 +0400
committerBorislav Petkov <bp@suse.de>2013-08-14 14:46:46 +0400
commit75a9551f2b3792686df25501f248d1de92d5da0f (patch)
tree4725585029c4d2a5d1f9d5a49e52e5d680d1fa7e /drivers/edac
parente0d391ab04910aa1304f181fc865471a1d1508ec (diff)
downloadlinux-75a9551f2b3792686df25501f248d1de92d5da0f.tar.xz
cpc925_edac: Use proper array termination
The struct should be terminated by using empty braces in order to fix the following sparse warning. drivers/edac/cpc925_edac.c:792:10: warning: Using plain integer as NULL pointer Signed-off-by: Jingoo Han <jg1.han@samsung.com> [ drop obvious comment ] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/cpc925_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c
index 7f3c57113ba1..df6575f1430d 100644
--- a/drivers/edac/cpc925_edac.c
+++ b/drivers/edac/cpc925_edac.c
@@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
.exit = cpc925_htlink_exit,
.check = cpc925_htlink_check,
},
- {0}, /* Terminated by NULL */
+ { }
};
/*