diff options
author | Steve French <sfrench@hera.kernel.org> | 2005-05-19 12:26:57 -0700 |
---|---|---|
committer | Steve French <sfrench@hera.kernel.org> | 2005-05-19 12:26:57 -0700 |
commit | 7e2987503dda95a5f80290bb8c06279009c2419e (patch) | |
tree | e841944c911ada8d2b806e13d2c7b7320adaeb2f /drivers/base/core.c | |
parent | b1a45695bde0204597957e448923f09ce271ca80 (diff) | |
parent | 49a43876b935c811cfd29d8fe998a6912a1cc5c4 (diff) |
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r-- | drivers/base/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 268a9c8d168..d21eb774449 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -31,8 +31,6 @@ int (*platform_notify_remove)(struct device * dev) = NULL; #define to_dev(obj) container_of(obj, struct device, kobj) #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) -extern struct attribute * dev_default_attrs[]; - static ssize_t dev_attr_show(struct kobject * kobj, struct attribute * attr, char * buf) { @@ -89,7 +87,6 @@ static void device_release(struct kobject * kobj) static struct kobj_type ktype_device = { .release = device_release, .sysfs_ops = &dev_sysfs_ops, - .default_attrs = dev_default_attrs, }; |