diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-21 14:48:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-21 14:48:43 -0800 |
commit | 10fbcf4c6cb122005cdf36fc24d7683da92c7a27 (patch) | |
tree | 1a2ad572b421d576e14dbf006ecb321a53063f0c /include/linux/memory.h | |
parent | 8a25a2fd126c621f44f3aeaef80d51f00fc11639 (diff) | |
download | linux-3.10-10fbcf4c6cb122005cdf36fc24d7683da92c7a27.tar.gz linux-3.10-10fbcf4c6cb122005cdf36fc24d7683da92c7a27.tar.bz2 linux-3.10-10fbcf4c6cb122005cdf36fc24d7683da92c7a27.zip |
convert 'memory' sysdev_class to a regular subsystem
This moves the 'memory sysdev_class' over to a regular 'memory' subsystem
and converts the devices to regular devices. The sysdev drivers are
implemented as subsystem interfaces now.
After all sysdev classes are ported to regular driver core entities, the
sysdev implementation will be entirely removed from the kernel.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/memory.h')
-rw-r--r-- | include/linux/memory.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h index 935699b30b7..1ac7f6e405f 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h @@ -15,7 +15,6 @@ #ifndef _LINUX_MEMORY_H_ #define _LINUX_MEMORY_H_ -#include <linux/sysdev.h> #include <linux/node.h> #include <linux/compiler.h> #include <linux/mutex.h> @@ -38,7 +37,7 @@ struct memory_block { int phys_device; /* to which fru does this belong? */ void *hw; /* optional pointer to fw/hw data */ int (*phys_callback)(struct memory_block *); - struct sys_device sysdev; + struct device dev; }; int arch_get_memory_phys_device(unsigned long start_pfn); |