On Sun, Jun 07, 2015 at 08:13:37PM -0700, David Bakin wrote:
> Where do I set the default attributes for a device created with misc_register
> ()?
> 
> In kernel 3.19 struct miscdevice looks like this:
> 
> struct miscdevice  {
>  int minor;
>  const char *name;
>  const struct file_operations *fops;
>  struct list_head list;
>  struct device *parent;
>  struct device *this_device;
>  const char *nodename;
>  umode_t mode;
> };

Look at 4.1-rc1, this structure has changed to solve this issue.

Hope this helps,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to