Changeset - 1b56c80b1ee4
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 15 years ago 2010-06-19 07:02:35
drewp@bigasterisk.com
patch for newer linux kernels which apparently have err() but not info()
Ignore-this: dc59850cb3f6d08aaa9c478aa4e4d4ef
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
dmx_usb_module/dmx_usb.c
Show inline comments
 
@@ -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;
 
}
 

	
0 comments (0 inline, 0 general)