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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/