Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195918
b: refs/heads/master
c: ca7081d
h: refs/heads/master
v: v3
  • Loading branch information
Maxim Levitsky authored and David Woodhouse committed Mar 26, 2010
1 parent a7b5ca6 commit 445862b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 329f9052dbadf6f4afe2231668bd00c579a4aa10
refs/heads/master: ca7081d96e39ea276892f0577f9cf37568547e88
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/sm_ftl.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ struct attribute_group *sm_create_sysfs_attributes(struct sm_ftl *ftl)
vendor_attribute =
kzalloc(sizeof(struct sm_sysfs_attribute), GFP_KERNEL);

sysfs_attr_init(&vendor_attribute->dev_attr.attr);

vendor_attribute->data = vendor;
vendor_attribute->len = vendor_len;
vendor_attribute->dev_attr.attr.name = "vendor";
Expand Down

0 comments on commit 445862b

Please sign in to comment.