Thread (41 messages) 41 messages, 5 authors, 2025-03-11

Re: [PATCH net-next v3 03/14] net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-02-11 13:04:42
Also in: linux-arm-msm, linux-devicetree, linux-doc, linux-hardening, lkml

quoted
+#ifndef __PPE_H__
+#define __PPE_H__
+
+#include <linux/compiler.h>
+#include <linux/interconnect.h>
+
+struct device;
#include <linux/device.h> ?
quoted
+struct regmap;
Same with previous one, include it's header file?
If the structure is opaque at this level, it is fine to not include
the header. There is nothing in the header actually needed. By not
including it, the build it faster. A large part of the kernel build
time is spent processing headers, so less headers are better.

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help