aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/amba')
-rw-r--r--drivers/amba/bus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index bd230e801131..936c98cb2475 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -52,6 +52,10 @@ static int amba_uevent(struct device *dev, struct kobj_uevent_env *env)
52 int retval = 0; 52 int retval = 0;
53 53
54 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); 54 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid);
55 if (retval)
56 return retval;
57
58 retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid);
55 return retval; 59 return retval;
56} 60}
57#else 61#else