diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-23 13:40:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 17:51:58 -0500 |
commit | f0ee61a6cecd100301a60d99feb187776533b2a2 (patch) | |
tree | 69fe62325427cdec7687e951e680ca9ff3486a3d /include | |
parent | 1901fb2604fbcd53201f38725182ea807581159e (diff) |
Driver Core: Move virtual_device_parent() to core.c
It doesn't need to be global or in device.h
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index b00e02711393..00b29e0c5ce0 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -440,8 +440,6 @@ extern struct device *device_create(struct class *cls, struct device *parent, | |||
440 | __attribute__((format(printf,4,5))); | 440 | __attribute__((format(printf,4,5))); |
441 | extern void device_destroy(struct class *cls, dev_t devt); | 441 | extern void device_destroy(struct class *cls, dev_t devt); |
442 | 442 | ||
443 | extern int virtual_device_parent(struct device *dev); | ||
444 | |||
445 | /* | 443 | /* |
446 | * Platform "fixup" functions - allow the platform to have their say | 444 | * Platform "fixup" functions - allow the platform to have their say |
447 | * about devices and actions that the general device layer doesn't | 445 | * about devices and actions that the general device layer doesn't |