On Fri, 28 Jan 2011 18:31:50 +0100 Stefan Achatz wrote: > I'd like to add an ioctl to my already existing hid-roccat chardev > so that clients can inquire the report size. This would be needed > for planned enhancements. > The header actually resides in drivers/hid/hid-roccat.h and it is > planned to move and rename it to /include/linux/roccat.h along with > the ioctl implementation. > This patch is to register the number and development will begin as > soon as my choice is found to be good. > > Signed-off-by: Stefan Achatz <erazor_de@xxxxxxxxxxxxxxxxxxxxx> > --- > Documentation/ioctl/ioctl-number.txt | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt > index 63ffd78..99cd8d9c 100644 > --- a/Documentation/ioctl/ioctl-number.txt > +++ b/Documentation/ioctl/ioctl-number.txt > @@ -133,6 +133,7 @@ Code Seq#(hex) Include File Comments > 'H' C0-DF net/bluetooth/hidp/hidp.h conflict! > 'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict! > 'H' C0-DF net/bluetooth/bnep/bnep.h conflict! > +'H' F1 linux/roccat.h <mailto:erazor_de@xxxxxxxxxxxxxxxxxxxxx> > 'I' all linux/isdn.h conflict! > 'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict! > 'I' 40-4F linux/mISDNif.h conflict! > -- This part is fine. Just include this patch when you add the ioctl handling. I can't find include/linux/roccat.h... Where is it? --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html