treewide: Add 'IWYU pragma: export' comment
This pragma says to IWYU (Include What You Use) that the current file is supposed to provide commented headers. Change-Id: I482c645f6b5f955e532ad94def1b2f74f15ca908 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68332 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
parent
109bd3b796
commit
35c3ae3bf4
17 changed files with 25 additions and 24 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef __DEVICE_MMIO_H__
|
||||
#define __DEVICE_MMIO_H__
|
||||
|
||||
#include <arch/mmio.h>
|
||||
#include <arch/mmio.h> /* IWYU pragma: export */
|
||||
#include <commonlib/helpers.h>
|
||||
#include <endian.h>
|
||||
#include <types.h>
|
||||
|
|
|
|||
|
|
@ -19,14 +19,15 @@
|
|||
|
||||
#if CONFIG(PCI)
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/resource.h>
|
||||
/* When <device/pci.h> is needed, it supposed to provide <device/pci_{def,type}.h> */
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h> /* IWYU pragma: export */
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/pci_rom.h>
|
||||
#include <device/pci_type.h>
|
||||
#include <device/pci_type.h> /* IWYU pragma: export */
|
||||
#include <device/resource.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* Common pci operations without a standard interface */
|
||||
struct pci_operations {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <stdint.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_type.h>
|
||||
#include <arch/pci_ops.h>
|
||||
#include <arch/pci_ops.h> /* IWYU pragma: export */
|
||||
|
||||
void __noreturn pcidev_die(void);
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
#include <stdint.h>
|
||||
#include <device/device.h>
|
||||
/* When <device/pnp.h> is needed, it supposed to provide <device/pnp_{def,type}.h> */
|
||||
#include <device/pnp_def.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <device/pnp_def.h> /* IWYU pragma: export */
|
||||
#include <device/pnp_type.h> /* IWYU pragma: export */
|
||||
#include <arch/io.h>
|
||||
|
||||
#if !ENV_PNP_SIMPLE_DEVICE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue