summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorTrent Piepho2008-09-26 01:45:13 +0200
committerGreg Kroah-Hartman2008-10-16 18:24:51 +0200
commit8c0e3998f5b71e68fe6b6e489a92e052715e563c (patch)
treedf57b05090964df2138c8b59d3796c8509e92ed5 /lib/kobject.c
parentplatform: add new device registration helper (diff)
downloadkernel-qcow2-linux-8c0e3998f5b71e68fe6b6e489a92e052715e563c.tar.gz
kernel-qcow2-linux-8c0e3998f5b71e68fe6b6e489a92e052715e563c.tar.xz
kernel-qcow2-linux-8c0e3998f5b71e68fe6b6e489a92e052715e563c.zip
sysfs: Make dir and name args to sysfs_notify() const
Because they can be, and because code like this produces a warning if they're not: struct device_attribute dev_attr; sysfs_notify(&kobj, NULL, dev_attr.attr.name); Signed-off-by: Trent Piepho <tpiepho@freescale.com> CC: Neil Brown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions