1. The problem is as follows:
2. The solutions are as follows:
When linux driver writes a function, when there is no formal parameter, void type data should be passed in.
static int led_init(void)
{
int ret = 0;
return ret;
}
1. The problem is as follows:
2. The solutions are as follows:
When linux driver writes a function, when there is no formal parameter, void type data should be passed in.
static int led_init(void)
{
int ret = 0;
return ret;
}