Re: [PATCH v2 63/76] ARC: Hostlink Pseudo-Driver for Metaware Debugger

From: Arnd Bergmann
Date: Fri Jan 18 2013 - 09:58:18 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/