Home
last modified time | relevance | path

Searched refs:bindata_attr (Results 1 – 1 of 1) sorted by relevance

/arch/mips/txx9/generic/
Dsetup.c907 struct bin_attribute bindata_attr; member
958 sysfs_bin_attr_init(&dev->bindata_attr); in txx9_sramc_init()
959 dev->bindata_attr.attr.name = "bindata"; in txx9_sramc_init()
960 dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; in txx9_sramc_init()
961 dev->bindata_attr.read = txx9_sram_read; in txx9_sramc_init()
962 dev->bindata_attr.write = txx9_sram_write; in txx9_sramc_init()
963 dev->bindata_attr.size = size; in txx9_sramc_init()
964 dev->bindata_attr.private = dev; in txx9_sramc_init()
968 err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr); in txx9_sramc_init()