ChangeSet 1.811.1.7, 2002/12/11 00:37:49-08:00, [EMAIL PROTECTED] [PATCH] Eliminate warning in drivers/usb/hc_sl811.c
compile warning is: #warning linux/malloc.h is deprecated, use linux/slab.h instead. attached patch uses linux/slab.h instead, as adviced by above ;) diff -Nru a/drivers/usb/hc_sl811.c b/drivers/usb/hc_sl811.c --- a/drivers/usb/hc_sl811.c Mon Dec 16 16:34:09 2002 +++ b/drivers/usb/hc_sl811.c Mon Dec 16 16:34:09 2002 @@ -28,7 +28,7 @@ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/sched.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/smp_lock.h> ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
