On Friday 18 January 2013 08:28 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> +static int arc_hl_nr_devs = 1; > This seems to be read-only and hardcoded to 1. If this is true, you could > simplify the driver significantly by just using misc_register, rather > than registering your own major device number. > > Arnd :-) Indeed virtually there's nothing left in there after misc_register Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html