diff options
Diffstat (limited to 'drivers/uio/uio.c')
-rw-r--r-- | drivers/uio/uio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 865f32b63b5c..606aae7490ab 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c | |||
@@ -160,7 +160,7 @@ static int uio_dev_add_attributes(struct uio_device *idev) | |||
160 | if (!map_found) { | 160 | if (!map_found) { |
161 | map_found = 1; | 161 | map_found = 1; |
162 | kobject_set_name(&idev->map_attr_kset.kobj,"maps"); | 162 | kobject_set_name(&idev->map_attr_kset.kobj,"maps"); |
163 | idev->map_attr_kset.ktype = &map_attr_type; | 163 | idev->map_attr_kset.kobj.ktype = &map_attr_type; |
164 | idev->map_attr_kset.kobj.parent = &idev->dev->kobj; | 164 | idev->map_attr_kset.kobj.parent = &idev->dev->kobj; |
165 | ret = kset_register(&idev->map_attr_kset); | 165 | ret = kset_register(&idev->map_attr_kset); |
166 | if (ret) | 166 | if (ret) |