diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-15 00:32:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-15 00:32:50 +0100 |
commit | 070680218379e15c1901f4bf21b98e3cbf12b527 (patch) | |
tree | 8bb5afe22614ee94e06d650618949a192181de0f /include/xen/balloon.h | |
parent | clocksource: convert sysdev_class to a regular subsystem (diff) | |
download | linux-070680218379e15c1901f4bf21b98e3cbf12b527.tar.xz linux-070680218379e15c1901f4bf21b98e3cbf12b527.zip |
xen-balloon: convert sysdev_class to a regular subsystem
After all sysdev classes are ported to regular driver core entities, the
sysdev implementation will be entirely removed from the kernel.
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/xen/balloon.h')
-rw-r--r-- | include/xen/balloon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xen/balloon.h b/include/xen/balloon.h index d29c153705bc..cc2e1a7e44ec 100644 --- a/include/xen/balloon.h +++ b/include/xen/balloon.h @@ -29,11 +29,11 @@ int alloc_xenballooned_pages(int nr_pages, struct page **pages, bool highmem); void free_xenballooned_pages(int nr_pages, struct page **pages); -struct sys_device; +struct device; #ifdef CONFIG_XEN_SELFBALLOONING -extern int register_xen_selfballooning(struct sys_device *sysdev); +extern int register_xen_selfballooning(struct device *dev); #else -static inline int register_xen_selfballooning(struct sys_device *sysdev) +static inline int register_xen_selfballooning(struct device *dev) { return -ENOSYS; } |