From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Subject: [PATCH] video: simplefb-fixup: IORESOURCE_BUSY is deprecated use reserve_resource
Date: Thu, 09 Apr 2026 14:10:18 +0200 [thread overview]
Message-ID: <20260409-simple-fixup-v1-1-5c4f16de17bd@pengutronix.de> (raw)
Since the IORESOURCE_BUSY was retired, the simple-fixup driver was
missed to be changed. We fix this and also mark the driver memory as
reserved.
Fixes: 191b639dd53d ('resource: retire IORESOURCE_BUSY in favor of resource::type')
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
drivers/video/simplefb-fixup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/simplefb-fixup.c b/drivers/video/simplefb-fixup.c
index e20f2922445bddcb13a049b2581c4c632289d6ee..94cf5a7884504a2dad80768ebedb413b171be868 100644
--- a/drivers/video/simplefb-fixup.c
+++ b/drivers/video/simplefb-fixup.c
@@ -124,8 +124,8 @@ static int simplefb_create_node(struct device_node *root,
return ret;
res.name = "simple-framebuffer";
- res.flags |= IORESOURCE_BUSY;
resource_set_range(&res, screen_base, fbi->screen_size);
+ reserve_resource(&res);
of_fixup_reserved_memory(root, &res);
---
base-commit: 86269eff785a915cfb96f09d9c7ec81a89d33012
change-id: 20260409-simple-fixup-d519715f3e5f
Best regards,
--
Michael Grzeschik <m.grzeschik@pengutronix.de>
next reply other threads:[~2026-04-09 12:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-09 12:10 Michael Grzeschik [this message]
2026-04-09 12:15 ` Ahmad Fatoum
2026-04-13 7:29 ` Sascha Hauer
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=20260409-simple-fixup-v1-1-5c4f16de17bd@pengutronix.de \
--to=m.grzeschik@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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