diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-11-25 15:59:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-11-25 15:27:06 -0800 |
commit | 2adaefb1458f67b3f71111fcf6a15670ab64101d (patch) | |
tree | be7543e200dffec38c62dfebdb87b5aedfc96acd /drivers/staging/greybus/greybus_trace.h | |
parent | greybus: bundle: add bundle_id attribute (diff) | |
download | linux-dev-2adaefb1458f67b3f71111fcf6a15670ab64101d.tar.xz linux-dev-2adaefb1458f67b3f71111fcf6a15670ab64101d.zip |
greybus: hd: make host device a device
Make the host device a proper device in the kernel device model.
Host devices will be our new greybus-bus root devices.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_trace.h')
-rw-r--r-- | drivers/staging/greybus/greybus_trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/greybus_trace.h b/drivers/staging/greybus/greybus_trace.h index a39fa396d949..1ca07064f5de 100644 --- a/drivers/staging/greybus/greybus_trace.h +++ b/drivers/staging/greybus/greybus_trace.h @@ -114,13 +114,13 @@ DECLARE_EVENT_CLASS(gb_host_device, TP_ARGS(hd, intf_cport_id, payload_size), TP_STRUCT__entry( - __string(name, dev_name(hd->parent)) + __string(name, dev_name(&hd->dev)) __field(u16, intf_cport_id) __field(size_t, payload_size) ), TP_fast_assign( - __assign_str(name, dev_name(hd->parent)) + __assign_str(name, dev_name(&hd->dev)) __entry->intf_cport_id = intf_cport_id; __entry->payload_size = payload_size; ), |