Re: perhaps confused about operation of alloc_chrdev_region()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
========================================================================
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux