From: Thomas Zimmermann <tzimmermann@suse.de>
To: deller@gmx.de, kherbst@redhat.com, lyude@redhat.com,
dakr@redhat.com, daniel@ffwll.ch, airlied@gmail.com
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
nouveau@lists.freedesktop.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 5/7] fbdev: Do not include <linux/slab.h> in header
Date: Mon, 12 Feb 2024 11:13:17 +0100 [thread overview]
Message-ID: <20240212101712.23675-6-tzimmermann@suse.de> (raw)
In-Reply-To: <20240212101712.23675-1-tzimmermann@suse.de>
Forward declare struct page and remove the include statement.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
include/linux/fb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 90f348f14a490..42155898374b1 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -11,7 +11,6 @@
#include <linux/init.h>
#include <linux/workqueue.h>
#include <linux/list.h>
-#include <linux/slab.h>
#include <asm/fb.h>
@@ -22,6 +21,7 @@ struct device;
struct file;
struct inode;
struct notifier_block;
+struct page;
struct videomode;
struct device_node;
--
2.43.0
next prev parent reply other threads:[~2024-02-12 10:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 10:13 [PATCH 0/7] fbdev: Clean up include dependencies in header Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 1/7] drm/nouveau: Include <linux/backlight.h> Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 2/7] fbdev: Do not include <linux/backlight.h> in header Thomas Zimmermann
2024-02-12 19:25 ` kernel test robot
2024-02-12 19:56 ` kernel test robot
2024-02-13 5:43 ` kernel test robot
2024-02-12 10:13 ` [PATCH 3/7] fbdev: Do not include <linux/fs.h> " Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 4/7] fbdev: Do not include <linux/notifier.h> " Thomas Zimmermann
2024-02-12 10:13 ` Thomas Zimmermann [this message]
2024-02-12 10:13 ` [PATCH 6/7] fbdev: Clean up forward declarations in header file Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 7/7] fbdev: Clean up include statements " Thomas Zimmermann
2024-02-12 10:24 ` [PATCH 0/7] fbdev: Clean up include dependencies in header Jani Nikula
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=20240212101712.23675-6-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=dakr@redhat.com \
--cc=daniel@ffwll.ch \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=kherbst@redhat.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=lyude@redhat.com \
--cc=nouveau@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.