Home
last modified time | relevance | path

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

/arch/mips/txx9/generic/
Dsetup.c880 struct bin_attribute bindata_attr; member
942 sysfs_bin_attr_init(&dev->bindata_attr); in txx9_sramc_init()
943 dev->bindata_attr.attr.name = "bindata"; in txx9_sramc_init()
944 dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; in txx9_sramc_init()
945 dev->bindata_attr.read = txx9_sram_read; in txx9_sramc_init()
946 dev->bindata_attr.write = txx9_sram_write; in txx9_sramc_init()
947 dev->bindata_attr.size = size; in txx9_sramc_init()
948 dev->bindata_attr.private = dev; in txx9_sramc_init()
952 err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr); in txx9_sramc_init()