Skip to contentSkip to conversation

can: Add missing debug flag for making USB CAN devices

PATCH In review Wolfgang Grandegger 1 participant 2 messages Nov 12, 2009 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 can: Add missing debug flag for making USB CAN devices

---
 drivers/net/can/usb/Makefile |    2 ++
 1 file changed, 2 insertions(+)
drivers/net/can/usb/Makefile +2 -0
Index: net-next-2.6/drivers/net/can/usb/Makefile
===================================================================
@@ -3,3 +3,5 @@
 #
 
 obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o
+
+ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Wolfgang Grandegger
---
 drivers/net/can/usb/Makefile |    2 ++
 1 file changed, 2 insertions(+)

Index: net-next-2.6/drivers/net/can/usb/Makefile
===================================================================

drivers/net/can/usb/Makefile line 7

Quoted 5 lines
drivers/net/can/usb/Makefile +2 -0
@@ -3,3 +3,5 @@
 #
 
 obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o
+
+ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG

Please drop this patch. I just realized that Oliver has already fixed this issue in his "[PATCH net-2.6] can: Fix driver Kconfig structure" here (see http://marc.info/?l=linux-netdev&m=125802571320568&w=2).

Sorry for the noise.

Wolfgang.