From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Genjian Zhang <zhanggenjian@kylinos.cn>,
"Ricardo B. Marliere" <ricardo@marliere.net>,
Sumit Garg <sumit.garg@linaro.org>, Alex Elder <elder@kernel.org>
Subject: [PATCH 2/2] mips: sgi-ip22: Fix the build
Date: Mon, 5 Aug 2024 16:20:21 -0700 [thread overview]
Message-ID: <20240805232026.65087-3-bvanassche@acm.org> (raw)
In-Reply-To: <20240805232026.65087-1-bvanassche@acm.org>
Fix a recently introduced build failure.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
arch/mips/sgi-ip22/ip22-gio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index 2738325e98dd..d20eec742bfa 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev)
}
EXPORT_SYMBOL_GPL(gio_device_unregister);
-static int gio_bus_match(struct device *dev, struct device_driver *drv)
+static int gio_bus_match(struct device *dev, const struct device_driver *drv)
{
struct gio_device *gio_dev = to_gio_device(dev);
struct gio_driver *gio_drv = to_gio_driver(drv);
next prev parent reply other threads:[~2024-08-05 23:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 23:20 [PATCH 0/2] Fix recently introduced build failures Bart Van Assche
2024-08-05 23:20 ` [PATCH 1/2] ARM: riscpc: ecard: Fix the build Bart Van Assche
2024-08-05 23:20 ` Bart Van Assche [this message]
2024-08-06 6:57 ` [PATCH 2/2] mips: sgi-ip22: " Greg Kroah-Hartman
2024-08-06 20:56 ` Bart Van Assche
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=20240805232026.65087-3-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=ricardo@marliere.net \
--cc=sumit.garg@linaro.org \
--cc=tsbogend@alpha.franken.de \
--cc=zhanggenjian@kylinos.cn \
/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