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
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
|
||||||
.exit = cpc925_htlink_exit,
|
.exit = cpc925_htlink_exit,
|
||||||
.check = cpc925_htlink_check,
|
.check = cpc925_htlink_check,
|
||||||
},
|
},
|
||||||
{0}, /* Terminated by NULL */
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue