shouldn't kobj_map.h include kobject.h?

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

 



  digging around kobjects and just noticed that the header file
<linux/kobj_map.h> doesn't include <linux/kobject.h>, but it opens
thusly:

#include <linux/mutex.h>

typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
struct kobj_map;
...

suggesting it should probably be including kobject.h, no?  i suspect
that, by including mutex.h, it will *eventually* pull in that header
file, but that should be more explicit, no?  or am i misreading
something?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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