summaryrefslogtreecommitdiffstats
path: root/drivers/base/base.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-20 22:59:20 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 21:40:49 +0200
commitaa49b9136e3d44cc264811d77eef4ded88456717 (patch)
tree9f84c71790724ba53384a651ca523b35382c054c /drivers/base/base.h
parent[PATCH] firmware_class: s/semaphores/mutexes (diff)
downloadlinux-aa49b9136e3d44cc264811d77eef4ded88456717.tar.xz
linux-aa49b9136e3d44cc264811d77eef4ded88456717.zip
[PATCH] Driver core: change make_class_name() to take kobjects
This is needed for a future patch for the device code to create the proper symlinks for devices that are "class devices". Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r--drivers/base/base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h
index 79115eff6e94..c3b8dc98b8a7 100644
--- a/drivers/base/base.h
+++ b/drivers/base/base.h
@@ -42,4 +42,5 @@ struct class_device_attribute *to_class_dev_attr(struct attribute *_attr)
return container_of(_attr, struct class_device_attribute, attr);
}
+extern char *make_class_name(const char *name, struct kobject *kobj);