forked from Minki/linux
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>
This commit is contained in:
parent
e0d391ab04
commit
75a9551f2b
@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
|
||||
.exit = cpc925_htlink_exit,
|
||||
.check = cpc925_htlink_check,
|
||||
},
|
||||
{0}, /* Terminated by NULL */
|
||||
{ }
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user