|
From: | Emanuele |
Subject: | Re: [Qemu-devel] [PATCH v2 05/34] tests/qgraph: sdhci driver and interface nodes |
Date: | Thu, 9 Aug 2018 15:27:28 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
In general, I called the constructor nameĀ *_create, so in theory to keep it consistent the destructor should be *_destroy, no?+{ + QSDHCI_PCI *spci = (QSDHCI_PCI *)obj; + qpci_device_enable(&spci->dev); +} + +static void sdhci_destroy(QOSGraphObject *obj)"sdhci_pci_destructor()"?
Thank you, Emanuele
[Prev in Thread] | Current Thread | [Next in Thread] |