In hidinput_configure_usage(device), IS_CHICONY_TACTICAL_PAD(devic) gets
passed the 'device' parameter. But that macro still references its
parameter by 'device' instead of by its local name 'x'.
Signed-off-by: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
--- linux/drivers/hid/hid-input.c 2008-01-25 09:57:17.000000000 +0100
+++ linux/drivers/hid/hid-input.c 2008-01-25 10:56:35.835871529 +0100
@@ -87,7 +87,7 @@
#define map_key_clear(c) do { map_key(c); clear_bit(c, bit); } while (0)
/* hardware needing special handling due to colliding MSVENDOR page usages */
-#define IS_CHICONY_TACTICAL_PAD(x) (x->vendor == 0x04f2 && device->product == 0x0418)
+#define IS_CHICONY_TACTICAL_PAD(x) (x->vendor == 0x04f2 && x->product == 0x0418)
#define IS_MS_KB(x) (x->vendor == 0x045e && (x->product == 0x00db || x->product == 0x00f9))
#ifdef CONFIG_USB_HIDINPUT_POWERBOOK
--
/ / (_)__ __ ____ __ Philipp Hahn
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de
--
| Stephen Rothwell | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Andre Noll | Re: Linus 2.6.23-rc1 |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Jan Wielemaker | git filter-branch --subdirectory-filter, still a mistery |
| Paul Mackerras | New features in gitk |
| Barry Fishman | Problems setting up bare repository (git 1.5.3.3) |
| Doug Fordham | Re: Real men don't attack straw men |
| Jan Stary | 4.1 on ALIX.1C - recommendations? |
| GVG GVG | OpenSSL Certificate Authority Setup |
| peter | ntpd not synching |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Alan Swanson | IPSEC IPV4 Tunnel Requires IPV6 WIth 2.6.25? |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Леонид Юрьев | [r8169] patch for RTL8102 (5 new MAC/PHY) |
