driver core: remove KOBJ_NAME_LEN define
Kobjects do not have a limit in name size since a while, so stop pretending that they do. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

父節點
f75b1c60fc
當前提交
aab0de2451
@@ -36,7 +36,7 @@
|
||||
#define _ACPIPHP_H
|
||||
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/kobject.h> /* for KOBJ_NAME_LEN */
|
||||
#include <linux/kobject.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/pci_hotplug.h>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
|
||||
|
||||
/* name size which is used for entries in pcihpfs */
|
||||
#define SLOT_NAME_SIZE KOBJ_NAME_LEN /* {_SUN} */
|
||||
#define SLOT_NAME_SIZE 20 /* {_SUN} */
|
||||
|
||||
struct acpiphp_bridge;
|
||||
struct acpiphp_slot;
|
||||
|
Reference in New Issue
Block a user