X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fsysdev.h;h=f752e73bf977e98381b95070096522c84e2ed5a1;hb=9aefd0abd8610e8f3bb097debf3afb73f8b7b210;hp=389ccf858d378013f7cc86f94e51db5df46f9991;hpb=b312362be6d9155b66f3a26d9159e0a680fbd6c5;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h index 389ccf858d3..f752e73bf97 100644 --- a/include/linux/sysdev.h +++ b/include/linux/sysdev.h @@ -22,12 +22,14 @@ #define _SYSDEV_H_ #include +#include #include struct sys_device; struct sysdev_class { + const char *name; struct list_head drivers; /* Default operations for these types of devices */ @@ -100,8 +102,7 @@ struct sysdev_attribute { #define _SYSDEV_ATTR(_name,_mode,_show,_store) \ { \ - .attr = { .name = __stringify(_name), .mode = _mode, \ - .owner = THIS_MODULE }, \ + .attr = { .name = __stringify(_name), .mode = _mode }, \ .show = _show, \ .store = _store, \ }