# HG changeset patch # User drewp@bigasterisk.com # Date 2010-06-19 07:02:35 # Node ID 1b56c80b1ee40030bc7abd7363055bf98201a002 # Parent ab491a0a78e7c5bf98994a403adafead0fcb3032 patch for newer linux kernels which apparently have err() but not info() Ignore-this: dc59850cb3f6d08aaa9c478aa4e4d4ef diff --git a/dmx_usb_module/dmx_usb.c b/dmx_usb_module/dmx_usb.c --- a/dmx_usb_module/dmx_usb.c +++ b/dmx_usb_module/dmx_usb.c @@ -689,7 +689,7 @@ static int dmx_usb_probe(struct usb_inte dev->minor = interface->minor; /* let the user know what node this device is now attached to */ - info ("DMX USB device now attached to dmx%d", dev->minor); + err ("info: DMX USB device now attached to dmx%d", dev->minor); return 0; error: @@ -743,7 +743,7 @@ static void dmx_usb_disconnect(struct us up (&disconnect_sem); - info("DMX USB #%d now disconnected", minor); + err("info: DMX USB #%d now disconnected", minor); } @@ -763,7 +763,7 @@ static int __init dmx_usb_init(void) return result; } - info(DRIVER_DESC " " DRIVER_VERSION); + err("info: " DRIVER_DESC " " DRIVER_VERSION); return 0; }