i'm in the midst of updating some basic kernel documentation and i
just ran across something that makes me question my understanding of
the alloc_chrdev_region() kernel routine. as i've understood it all
this time, that routine is the preferred routine if you want to
allocate some character
Hi Robert,
static int __init bsr_init(void)
{
struct device_node *np;
dev_t bsr_dev = MKDEV(bsr_major, 0); ---
You are right, this seems to be completely useless.
Go on make a patch, compile and send it.
thanks,
Daniel.
On Thu, 21 Apr 2011, Daniel Baluta wrote:
Hi Robert,
static int __init bsr_init(void)
{
struct device_node *np;
dev_t bsr_dev = MKDEV(bsr_major, 0); ---
You are right, this seems to be completely useless.
Go on make a patch, compile and send it.
well, i