Re: [PATCH] nesting class_device in sysfs to solve world peace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux