sysfs: Make dir and name args to sysfs_notify() const
authorTrent Piepho <tpiepho@freescale.com>
Thu, 25 Sep 2008 23:45:13 +0000 (16:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 16:24:51 +0000 (09:24 -0700)
commit8c0e3998f5b71e68fe6b6e489a92e052715e563c
treedf57b05090964df2138c8b59d3796c8509e92ed5
parentd8bf254089a6c31d7d01a4d1d2f1861662900855
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>
fs/sysfs/file.c
include/linux/sysfs.h