diff options
Diffstat (limited to 'kernel-devel/linux-device/pres_linux-device_en.tex')
| -rw-r--r-- | kernel-devel/linux-device/pres_linux-device_en.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel-devel/linux-device/pres_linux-device_en.tex b/kernel-devel/linux-device/pres_linux-device_en.tex index d34ba56..da4ca55 100644 --- a/kernel-devel/linux-device/pres_linux-device_en.tex +++ b/kernel-devel/linux-device/pres_linux-device_en.tex @@ -208,8 +208,8 @@ static DEVICE_ATTR(ro_example, 0444, my_show_ro, NULL); static DEVICE_ATTR(rw_example, 0644, my_show_rw, my_store_rw); static struct attribute *my_dev_attrs[] = { - &dev_attr_ro.attr, - &dev_attr_rw.attr, + &dev_attr_ro_example.attr, + &dev_attr_rw_example.attr, NULL, }; |
