Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46231
b: refs/heads/master
c: c080d89
h: refs/heads/master
i:
  46229: 6674081
  46227: ec50d28
  46223: c6912a6
v: v3
  • Loading branch information
Jiri Kosina committed Feb 5, 2007
1 parent a9576ec commit 49650a2
Show file tree
Hide file tree
Showing 9 changed files with 810 additions and 748 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20eb12790670985c8e30821218993bd260387b89
refs/heads/master: c080d89ad91e98fec0e8fc5f448a1ad899bd85c7
14 changes: 14 additions & 0 deletions trunk/drivers/hid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,19 @@ config HID

If unsure, say Y

config HID_DEBUG
bool "HID debugging support"
depends on HID
---help---
This option lets the HID layer output diagnostics about its internal
state, resolve HID usages, dump HID fields, etc. Individual HID drivers
use this debugging facility to output information about individual HID
devices, etc.

This feature is useful for those who are either debugging the HID parser
or any HID hardware device.

If unsure, say N

endmenu

8 changes: 6 additions & 2 deletions trunk/drivers/hid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
hid-objs := hid-core.o hid-input.o

# Optional parts of multipart objects.

obj-$(CONFIG_HID) += hid.o
ifeq ($(CONFIG_HID_DEBUG),y)
hid-objs += hid-debug.o
endif

ifeq ($(CONFIG_INPUT_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif


obj-$(CONFIG_HID) += hid.o

2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
#include <linux/input.h>
#include <linux/wait.h>

#undef DEBUG
#undef DEBUG_DATA

#include <linux/hid.h>
#include <linux/hiddev.h>
#include <linux/hid-debug.h>

/*
* Version Information
Expand Down
Loading

0 comments on commit 49650a2

Please sign in to comment.