提交 03d0d045 编写于 作者: A Alexander Curtin 提交者: Greg Kroah-Hartman

staging: unisys: removed 'visor_device.devnodes' field

The 'visor_device.devnodes' field was used for displaying driver version
information through the devmajorminor sysfs attribute, which has recently
been removed, rendering the field unnecessary.
Signed-off-by: NAlexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: NDavid Kershner <david.kershner@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 240f7ec1
...@@ -136,12 +136,6 @@ struct visor_device { ...@@ -136,12 +136,6 @@ struct visor_device {
struct periodic_work *periodic_work; struct periodic_work *periodic_work;
bool being_removed; bool being_removed;
bool responded_to_device_create; bool responded_to_device_create;
struct {
int major, minor;
void *attr; /* private use by devmajorminor_attr.c you can
* change this constant to whatever you want
*/
} devnodes[5];
/* the code will detect and behave appropriately) */ /* the code will detect and behave appropriately) */
struct semaphore visordriver_callback_lock; struct semaphore visordriver_callback_lock;
bool pausing; bool pausing;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册