瀏覽代碼

sh: dma: Fix up device attribute mismatch from sysdev fallout.

This fixes up an attribute mismatch that was introduced in the
sysdev->struct device migration.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 13 年之前
父節點
當前提交
87c34ed3ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/drivers/dma/dma-sysfs.c

+ 1 - 1
arch/sh/drivers/dma/dma-sysfs.c

@@ -54,7 +54,7 @@ static int __init dma_subsys_init(void)
 	if (unlikely(ret))
 		return ret;
 
-	return device_create_file(dma_subsys.dev_root, &dev_attr_devices.attr);
+	return device_create_file(dma_subsys.dev_root, &dev_attr_devices);
 }
 postcore_initcall(dma_subsys_init);