modify error for no key define in init.rk29board.rc

This commit is contained in:
ywj
2012-12-07 18:03:51 +08:00
parent 99a2b98756
commit f5c08b7ebb

View File

@@ -99,6 +99,11 @@ static ssize_t rk29key_set(struct device *dev,
{
p = strstr(buf,Arrary[i].keyArrary);
if(p==0)
{
printk(" rk29key_set p == 0 error ...............\n");
return 0;
}
start = strcspn(p,":");