From: "Lad Prabhakar" <prabhakar.mahadev-lad.rj@bp.renesas.com>
To: cip-dev@lists.cip-project.org,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
Pavel Machek <pavel@denx.de>
Cc: Biju Das <biju.das.jz@bp.renesas.com>
Subject: [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
Date: Wed, 6 Jan 2021 13:22:21 +0000 [thread overview]
Message-ID: <20210106132221.17458-1-prabhakar.mahadev-lad.rj@bp.renesas.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
From: YueHaibing <yuehaibing@huawei.com>
commit b5881b153bc81d63a5a7e82a35e8a4bdbe1f8c73 upstream.
Stub helper spi_mem_default_supports_op() should
be set to static inline
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Hi Pavel,
This is a incremental patch on top of series [1], as you pointed out in
patch [2] the function should be static, this patch fixes this issue
and is backported from upstream kernel.
[1] https://patchwork.kernel.org/project/cip-dev/list/?series=409359
[2] https://patchwork.kernel.org/project/cip-dev/patch/20210105135757
.11069-9-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
---
include/linux/spi/spi-mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
index 762b3974cf9c..46497e742e7f 100644
--- a/include/linux/spi/spi-mem.h
+++ b/include/linux/spi/spi-mem.h
@@ -315,6 +315,7 @@ spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr,
{
}
+static inline
bool spi_mem_default_supports_op(struct spi_mem *mem,
const struct spi_mem_op *op)
{
--
2.17.1
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6044): https://lists.cip-project.org/g/cip-dev/message/6044
Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2021-01-06 13:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 13:22 Lad Prabhakar [this message]
2021-01-06 17:08 ` [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline Pavel Machek
2021-01-06 17:10 ` Lad Prabhakar
2021-01-06 17:39 ` Pavel Machek
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=20210106132221.17458-1-prabhakar.mahadev-lad.rj@bp.renesas.com \
--to=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=cip-dev@lists.cip-project.org \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=pavel@denx.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 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.