于 2013年09月24日 20:10, Sourav Poddar 写道: > +static int quad_enable(struct m25p *flash) > +{ > + u8 cmd[3]; > + cmd[0] = OPCODE_WRSR; > + cmd[1] = 0x00; > + cmd[2] = 0x02; > + Please use a macro here, do not use a hardcode. thanks Huang Shijie