Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2317
b: refs/heads/master
c: 419cab3
h: refs/heads/master
i:
  2315: ef02f0f
v: v3
  • Loading branch information
Dmitry Torokhov authored and Greg Kroah-Hartman committed Jun 20, 2005
1 parent 27cc123 commit 3061f67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3b4f3c6dec04c6c8261fe22645f07b39976595a
refs/heads/master: 419cab3fc69588ebe35b845cc3a584ae172463de
2 changes: 1 addition & 1 deletion trunk/drivers/base/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static int class_hotplug_filter(struct kset *kset, struct kobject *kobj)
return 0;
}

static char *class_hotplug_name(struct kset *kset, struct kobject *kobj)
static const char *class_hotplug_name(struct kset *kset, struct kobject *kobj)
{
struct class_device *class_dev = to_class_dev(kobj);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static int dev_hotplug_filter(struct kset *kset, struct kobject *kobj)
return 0;
}

static char *dev_hotplug_name(struct kset *kset, struct kobject *kobj)
static const char *dev_hotplug_name(struct kset *kset, struct kobject *kobj)
{
struct device *dev = to_dev(kobj);

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct kobj_type {
*/
struct kset_hotplug_ops {
int (*filter)(struct kset *kset, struct kobject *kobj);
char *(*name)(struct kset *kset, struct kobject *kobj);
const char *(*name)(struct kset *kset, struct kobject *kobj);
int (*hotplug)(struct kset *kset, struct kobject *kobj, char **envp,
int num_envp, char *buffer, int buffer_size);
};
Expand Down

0 comments on commit 3061f67

Please sign in to comment.