diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-03-29 18:56:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-30 14:23:19 -0700 |
commit | af1471e7a903c18e98adf49fc9e2e444915b48c8 (patch) | |
tree | 85538071da352550ae2f62f7acb99be0bc242dff /drivers/staging/greybus/interface.c | |
parent | e9f2f688d1a9434f615eec7180f14f0c52941bb9 (diff) | |
download | op-kernel-dev-af1471e7a903c18e98adf49fc9e2e444915b48c8.zip op-kernel-dev-af1471e7a903c18e98adf49fc9e2e444915b48c8.tar.gz |
greybus: greybus_protocols: rename NULL DME selector index
Add NULL suffix to the don't-care DME selector index.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.c')
-rw-r--r-- | drivers/staging/greybus/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/interface.c b/drivers/staging/greybus/interface.c index 7e7bcda..823debb 100644 --- a/drivers/staging/greybus/interface.c +++ b/drivers/staging/greybus/interface.c @@ -103,7 +103,7 @@ static int gb_interface_read_and_clear_init_status(struct gb_interface *intf) attr = DME_ATTR_ES3_INIT_STATUS; ret = gb_svc_dme_peer_get(hd->svc, intf->interface_id, attr, - DME_ATTR_SELECTOR_INDEX, &value); + DME_ATTR_SELECTOR_INDEX_NULL, &value); if (ret) return ret; @@ -144,7 +144,7 @@ static int gb_interface_read_and_clear_init_status(struct gb_interface *intf) /* Clear the init status. */ return gb_svc_dme_peer_set(hd->svc, intf->interface_id, attr, - DME_ATTR_SELECTOR_INDEX, 0); + DME_ATTR_SELECTOR_INDEX_NULL, 0); } /* interface sysfs attributes */ |