projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver core: make struct class.dev_uevent() take a const *
[linux-2.6-block.git]
/
net
/
atm
/
atm_sysfs.c
diff --git
a/net/atm/atm_sysfs.c
b/net/atm/atm_sysfs.c
index 0fdbdfd194746212da4bf04b132d4bb6db318722..466353b3dde45e9f5418f9a795ef5be88e53a2d9 100644
(file)
--- a/
net/atm/atm_sysfs.c
+++ b/
net/atm/atm_sysfs.c
@@
-108,9
+108,9
@@
static struct device_attribute *atm_attrs[] = {
};
-static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env)
+static int atm_uevent(
const
struct device *cdev, struct kobj_uevent_env *env)
{
- struct atm_dev *adev;
+
const
struct atm_dev *adev;
if (!cdev)
return -ENODEV;