Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030459AbVJFA00 (ORCPT ); Wed, 5 Oct 2005 20:26:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030460AbVJFA0Z (ORCPT ); Wed, 5 Oct 2005 20:26:25 -0400 Received: from mail.kroah.org ([69.55.234.183]:18829 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S1030459AbVJFA0Z (ORCPT ); Wed, 5 Oct 2005 20:26:25 -0400 Date: Wed, 5 Oct 2005 17:26:05 -0700 From: Greg KH To: Dmitry Torokhov Cc: linux-kernel@vger.kernel.org, Kay Sievers , Vojtech Pavlik , Hannes Reinecke , Patrick Mochel , airlied@linux.ie Subject: Re: [PATCH] nesting class_device in sysfs to solve world peace Message-ID: <20051006002605.GA4694@suse.de> References: <20050928233114.GA27227@suse.de> <200509300032.50408.dtor_core@ameritech.net> <20051006000951.GA4411@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051006000951.GA4411@suse.de> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 19 On Wed, Oct 05, 2005 at 05:09:51PM -0700, Greg KH wrote: > - class_device_create(input_class, NULL, > + class_device_create(&input_dev_class, &dev->cdev, > MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + minor), > - dev->dev, "mouse%d", minor); > + dev->cdev.dev, "mouse%d", minor); Yeah, I know mixing this call with the input_dev_class is a ripe for badness, I'll fix it up properly soon, this was just a "proof of concept". thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/