All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: Stefan Achatz <erazor_de@users.sourceforge.net>
Cc: Stephane Chatty <chatty@enac.fr>,
	wylda@volny.cz, Jussi Kivilinna <jussi.kivilinna@mbnet.fi>,
	Tejun Heo <tj@kernel.org>,
	linux-input@vger.kernel.org, Jerome Vidal <jerom3@free.fr>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] HID: add chardev to propagate special events of Roccat hardware to userland
Date: Tue, 25 May 2010 10:00:07 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LNX.2.00.1005250959150.28092@pobox.suse.cz> (raw)
In-Reply-To: <alpine.LNX.2.00.1005250944580.28092@pobox.suse.cz>

On Tue, 25 May 2010, Jiri Kosina wrote:

> > Module roccat is a char device used to report special events of roccat
> > hardware to userland. 
> 
> I have now applied it.

Plus I had to apply the patch below on top of it.



From: Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH] HID: roccat: fix build failure if built as module

Fix build failure when roccat and roccat-kone are built as modules.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
 drivers/hid/hid-roccat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h
index 40cca5b..d8aae0c 100644
--- a/drivers/hid/hid-roccat.h
+++ b/drivers/hid/hid-roccat.h
@@ -15,7 +15,7 @@
 #include <linux/hid.h>
 #include <linux/types.h>
 
-#ifdef CONFIG_HID_ROCCAT
+#if defined(CONFIG_HID_ROCCAT) || defined (CONFIG_HID_ROCCAT_MODULE)
 int roccat_connect(struct hid_device *hid);
 void roccat_disconnect(int minor);
 int roccat_report_event(int minor, u8 const *data, int len);

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

  reply	other threads:[~2010-05-25  8:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 16:55 [PATCH 5/5] HID: add chardev to propagate special events of Roccat hardware to userland Stefan Achatz
2010-05-19 16:55 ` Stefan Achatz
2010-05-25  7:45 ` Jiri Kosina
2010-05-25  8:00   ` Jiri Kosina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-05-12 15:45 Stefan Achatz
2010-05-12 15:45 Stefan Achatz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1005250959150.28092@pobox.suse.cz \
    --to=jkosina@suse.cz \
    --cc=chatty@enac.fr \
    --cc=erazor_de@users.sourceforge.net \
    --cc=jerom3@free.fr \
    --cc=jussi.kivilinna@mbnet.fi \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=wylda@volny.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.