summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_trace.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-25 15:59:02 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-25 15:27:06 -0800
commit2adaefb1458f67b3f71111fcf6a15670ab64101d (patch)
treebe7543e200dffec38c62dfebdb87b5aedfc96acd /drivers/staging/greybus/greybus_trace.h
parenta97015c9e99d8421b80cdf9652a456f4cd93fc1e (diff)
downloadlinux-2adaefb1458f67b3f71111fcf6a15670ab64101d.tar.bz2
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.h4
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;
),