diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/txx9/generic/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 7174d830dd05..95184a0a1ae6 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c | |||
| @@ -956,6 +956,7 @@ void __init txx9_sramc_init(struct resource *r) | |||
| 956 | if (!dev->base) | 956 | if (!dev->base) |
| 957 | goto exit; | 957 | goto exit; |
| 958 | dev->dev.cls = &txx9_sramc_sysdev_class; | 958 | dev->dev.cls = &txx9_sramc_sysdev_class; |
| 959 | sysfs_bin_attr_init(&dev->bindata_attr); | ||
| 959 | dev->bindata_attr.attr.name = "bindata"; | 960 | dev->bindata_attr.attr.name = "bindata"; |
| 960 | dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; | 961 | dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; |
| 961 | dev->bindata_attr.read = txx9_sram_read; | 962 | dev->bindata_attr.read = txx9_sram_read; |
