perhaps confused about operation of alloc_chrdev_region()
Robert P. J. Day
rpjday at crashcourse.ca
Thu Apr 21 15:51:16 EDT 2011
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 won't *compile* it since it's strictly for powerpc, but i'll
just submit the patch to the ppc list and let them make the decision.
i just wanted to verify that i wasn't hopelessly confused.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Kernelnewbies
mailing list