diff options
Diffstat (limited to 'drivers/staging/greybus/core.c')
-rw-r--r-- | drivers/staging/greybus/core.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index da62c54..7c701f3 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -51,6 +51,14 @@ static int greybus_uevent(struct device *dev, struct kobj_uevent_env *env) struct gb_bundle *bundle = NULL; struct gb_connection *connection = NULL; + if (is_gb_endo(dev)) { + /* + * Not much to do for an endo, just fall through, as the + * "default" attributes are good enough for us. + */ + return 0; + } + if (is_gb_module(dev)) { module = to_gb_module(dev); } else if (is_gb_interface(dev)) { |