Em 14-01-2012 13:35, Antti Palosaari escreveu: > On 01/14/2012 05:31 PM, Antti Palosaari wrote: >> +typedef enum fe_interleaving { >> + INTERLEAVING_NONE, >> + INTERLEAVING_240, >> + INTERLEAVING_720, >> +} fe_interleaving_t; > > Checkpatch didn't like that, but I left it as all the others are similar. I am happy to fix it too if there is idea what it should be. > > WARNING: do not add new typedefs > #165: FILE: include/linux/dvb/frontend.h:225: > +typedef enum fe_interleaving { Just use: enum fe_interleaving { ... }; having a typedef here won't help at all, as the DVBv5 API uses "u32" for the types. So, a typecast will happen anyway every time this is used. Regards, Mauro. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html