]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen: clean up xenbus internal headers
authorJuergen Gross <jgross@suse.com>
Thu, 9 Feb 2017 13:39:56 +0000 (14:39 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 9 Feb 2017 16:26:49 +0000 (11:26 -0500)
commit332f791dc98d98116f4473b726f67c9321b0f31e
tree7ec64588dcd472189bd00306f89800a0f8c6703c
parentc0d197d55e8e8aeeea55f79bdf67e1c957bfa25d
xen: clean up xenbus internal headers

The xenbus driver has an awful mixture of internally and globally
visible headers: some of the internally used only stuff is defined in
the global header include/xen/xenbus.h while some stuff defined in
internal headers is used by other drivers, too.

Clean this up by moving the externally used symbols to
include/xen/xenbus.h and the symbols used internally only to a new
header drivers/xen/xenbus/xenbus.h replacing xenbus_comms.h and
xenbus_probe.h

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
13 files changed:
drivers/xen/xenbus/xenbus.h [moved from drivers/xen/xenbus/xenbus_probe.h with 59% similarity]
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_comms.c
drivers/xen/xenbus/xenbus_comms.h [deleted file]
drivers/xen/xenbus/xenbus_dev_backend.c
drivers/xen/xenbus/xenbus_dev_frontend.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_probe_backend.c
drivers/xen/xenbus/xenbus_probe_frontend.c
drivers/xen/xenbus/xenbus_xs.c
drivers/xen/xenfs/super.c
drivers/xen/xenfs/xenstored.c
include/xen/xenbus.h