Where to add a platform specific IOCTL command?

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

 



I want to add a new ioctl command for an RTC (TWL4030-RTC). Something like:

#define RTC_FOO  _IOW('p', 0x0d, unsigned long)

The default ioctl commands of RTC are defined in include/linux/rtc.h.
But the new one I intend to add is platform specific.

So where should I add this definition, so that user can access this
new ioctl command?

--
With regards,

Jagadeesh Bhaskar P
--------------------
Bugs are by far the largest and most successful class of entity, with
nearly a million known species. In this respect they outnumber all the
other known creatures about four to one.
—Professor Snopes' Encyclopedia of Animal Life
-------

--
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