From: Tony Jones Date: Tue, 25 Sep 2007 00:03:03 +0000 (+0200) Subject: cosa: Convert from class_device to device for cosa sync driver X-Git-Tag: v2.6.25-rc1~1243^2~168 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ff82cac7ee7351d2649c4a3568f12e4e0fe534;p=linux-2.6 cosa: Convert from class_device to device for cosa sync driver struct class_device is going away, this converts the code to use struct device instead. Signed-off-by: Tony Jones Cc: Jan "Yenya" Kasprzak Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index ff37bf437a..1d706eae30 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -395,8 +395,7 @@ static int __init cosa_init(void) goto out_chrdev; } for (i=0; i