From: Max Kellermann <max.kellermann@ionos.com>
To: linux-kernel@vger.kernel.org
Cc: Max Kellermann <max.kellermann@ionos.com>
Subject: [PATCH v1 2/8] include/drm/drm_fixed.h: include linux/wordpart.h instead of linux/kernel.h
Date: Thu, 15 Feb 2024 10:36:40 +0100 [thread overview]
Message-ID: <20240215093646.3265823-3-max.kellermann@ionos.com> (raw)
In-Reply-To: <20240215093646.3265823-1-max.kellermann@ionos.com>
This header only needs lower_32_bits(), but nothing else from
kernel.h.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
---
include/drm/drm_fixed.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_fixed.h b/include/drm/drm_fixed.h
index 0c9f917a4d4b..ff9a91fa40b6 100644
--- a/include/drm/drm_fixed.h
+++ b/include/drm/drm_fixed.h
@@ -25,7 +25,7 @@
#ifndef DRM_FIXED_H
#define DRM_FIXED_H
-#include <linux/kernel.h>
+#include <linux/wordpart.h> // for lower_32_bits()
#include <linux/math64.h>
typedef union dfixed {
--
2.39.2
next prev parent reply other threads:[~2024-02-15 9:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 9:36 [PATCH v1 0/8] Fast kernel headers: split linux/kernel.h Max Kellermann
2024-02-15 9:36 ` [PATCH v1 1/8] include/linux/goldfish.h: include linux/wordpart.h instead of linux/kernel.h Max Kellermann
2024-02-15 9:36 ` Max Kellermann [this message]
2024-02-15 9:36 ` [PATCH v1 3/8] include linux/wordpart.h in various sources that need it Max Kellermann
2024-02-15 9:36 ` [PATCH v1 4/8] linux/random.h: reduce dependencies on linux/kernel.h Max Kellermann
2024-02-15 9:36 ` [PATCH v1 5/8] linux/kernel.h: move might_sleep(), ... to sched/debug_atomic_sleep.h Max Kellermann
2024-02-15 9:36 ` [PATCH v1 6/8] linux/kernel.h: move READ and WRITE to direction.h Max Kellermann
2024-02-15 9:36 ` [PATCH v1 7/8] linux/kernel.h: move VERIFY_OCTAL_PERMISSIONS() to octal_permissions.h Max Kellermann
2024-02-15 9:36 ` [PATCH v1 8/8] linux/kernel.h: move PTR_IF() to ptr_util.h Max Kellermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240215093646.3265823-3-max.kellermann@ionos.com \
--to=max.kellermann@ionos.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox