|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [rfc 02/18] Make dpci_infos static
Make dpci_infos static as it is only used inside hw/pass-through.c
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: ioemu-remote/hw/pass-through.c
===================================================================
--- ioemu-remote.orig/hw/pass-through.c 2009-02-17 17:27:29.000000000 +0900
+++ ioemu-remote/hw/pass-through.c 2009-02-17 17:27:33.000000000 +0900
@@ -36,7 +36,7 @@ struct php_dev {
uint8_t r_func;
char *opt;
};
-struct dpci_infos {
+static struct dpci_infos {
struct php_dev php_devs[PHP_SLOT_LEN];
--
--
Simon Horman
VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough, Simon Horman
- [Xen-devel] [rfc 01/18] Make register_real_device() and unregister_real_device() static, Simon Horman
- [Xen-devel] [rfc 02/18] Make dpci_infos static,
Simon Horman <=
- [Xen-devel] [rfc 03/18] ioemu: vslots needs to be freed on error in power_off_php_slot(), Simon Horman
- [Xen-devel] [rfc 04/18] ioemu: Remove lsi_scsi_init()s devfn parameter as it is always passed as -1, Simon Horman
- [Xen-devel] [rfc 05/18] ioemu: Remove lsi_scsi_init()s devfn parameter as it is always passed as -1, Simon Horman
- [Xen-devel] [rfc 06/18] ioemu: Remove usb_ohci_init*()s devfn parameter as they are always passed as -1, Simon Horman
- [Xen-devel] [rfc 07/18] iommu: Define PCI_DEVFN_AUTO and use it, Simon Horman
- [Xen-devel] [rfc 08/18] iommu: Use PCI_DEVFN to create devfn numbers, Simon Horman
- [Xen-devel] [rfc 09/18] ioemu: piix4acpi.c: make various variables static, Simon Horman
- [Xen-devel] [rfc 10/18] ioemu: piix4acpi.c: Simplfy PHPSlots structure, Simon Horman
- [Xen-devel] [rfc 11/18] ioemu: piix4acpi.c: Consistently dont cast opaque to PHPSlots, Simon Horman
- [Xen-devel] [rfc 12/18] ioemu: piix4acpi.c: remove unnecessary assignment of pci_slots to local variables, Simon Horman
|
|
|
|
|