[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 07/20] ide: use local path for local headers
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH v2 07/20] ide: use local path for local headers |
Date: |
Fri, 25 May 2018 19:47:46 +0300 |
When pulling in headers that are in the same directory as C file (as
opposed to one in include/), we should use its relative path, without a
directory.
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/ide/ahci-allwinner.c | 2 +-
hw/ide/ahci.c | 2 +-
hw/ide/ich.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ide/ahci-allwinner.c b/hw/ide/ahci-allwinner.c
index 2fd9507..f98e6cb 100644
--- a/hw/ide/ahci-allwinner.c
+++ b/hw/ide/ahci-allwinner.c
@@ -20,7 +20,7 @@
#include "qemu/error-report.h"
#include "sysemu/dma.h"
#include "hw/ide/internal.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
#include "trace.h"
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index e22d7be..24dbad5 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -31,7 +31,7 @@
#include "sysemu/dma.h"
#include "hw/ide/internal.h"
#include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
#include "trace.h"
diff --git a/hw/ide/ich.c b/hw/ide/ich.c
index 134478e..51c935a 100644
--- a/hw/ide/ich.c
+++ b/hw/ide/ich.c
@@ -67,7 +67,7 @@
#include "hw/isa/isa.h"
#include "sysemu/dma.h"
#include "hw/ide/pci.h"
-#include "hw/ide/ahci_internal.h"
+#include "ahci_internal.h"
#define ICH9_MSI_CAP_OFFSET 0x80
#define ICH9_SATA_CAP_OFFSET 0xA8
--
MST
- Re: [Qemu-devel] [PATCH v2 01/20] block: use local path for local headers, (continued)
- [Qemu-devel] [PATCH v2 05/20] trace: use local path for local headers, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 08/20] ioapic: fix up includes, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 09/20] e1000e: use local path for local headers, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 06/20] display: use local path for local headers, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 07/20] ide: use local path for local headers,
Michael S. Tsirkin <=
- [Qemu-devel] [PATCH v2 10/20] rocker: drop an unused include, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 11/20] ppc: use local path for local headers, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 12/20] vhost-scsi: drop an unused include, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 13/20] sd: fix up include, Michael S. Tsirkin, 2018/05/25
- [Qemu-devel] [PATCH v2 14/20] usb: use local path for local headers, Michael S. Tsirkin, 2018/05/25