lkml.org 
[lkml]   [2011]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Registering ioctl number for hid-roccat chardev
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@users.sourceforge.net>
> ---
> 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@users.sourceforge.net>
> '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 ***


\
 
 \ /
  Last update: 2011-01-28 18:53    [W:0.023 / U:12.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site