Module: xenomai-3 Branch: wip/dovetail Commit: 8f1a3d8707553815c7310220bdf17ed35fec4380 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8f1a3d8707553815c7310220bdf17ed35fec4380
Author: Philippe Gerum <r...@xenomai.org> Date: Sat Apr 30 09:40:10 2016 +0200 cobalt/rtdm: allow device paths with multiple components --- kernel/cobalt/rtdm/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/rtdm/device.c b/kernel/cobalt/rtdm/device.c index c760f31..46b7965 100644 --- a/kernel/cobalt/rtdm/device.c +++ b/kernel/cobalt/rtdm/device.c @@ -424,7 +424,7 @@ int rtdm_dev_register(struct rtdm_device *dev) rdev = MKDEV(major, minor); kdev = device_create(kdev_class, NULL, rdev, - dev, dev->label, minor); + dev, kbasename(dev->label), minor); if (IS_ERR(kdev)) { xnregistry_remove(dev->named.handle); ret = PTR_ERR(kdev); _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git