From: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
To: linux-kernel@vger.kernel.org
Cc: Dan Williams <dan.j.williams@intel.com>,
Linus Walleij <linus.walleij@stericsson.com>,
Maciej Sosnowski <maciej.sosnowski@intel.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Andre Noll <maan@systemlinux.org>
Subject: [PATCH] missing inline keyword for static function in linux/dmaengine.h
Date: Sat, 14 Aug 2010 15:02:44 +0200 [thread overview]
Message-ID: <1281790964.3017.5.camel@localhost.localdomain> (raw)
Add a missing inline keyword for static function in linux/dmaengine.h to
avoid duplicate symbol definitions.
Signed-off-by: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 5204f01..57d2b76 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -477,7 +477,7 @@ static inline bool dma_dev_has_pq_continue(struct dma_device *dma)
return (dma->max_pq & DMA_HAS_PQ_CONTINUE) == DMA_HAS_PQ_CONTINUE;
}
-static unsigned short dma_dev_to_maxpq(struct dma_device *dma)
+static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma)
{
return dma->max_pq & ~DMA_HAS_PQ_CONTINUE;
}
next reply other threads:[~2010-08-14 13:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-14 13:02 Mathieu Lacage [this message]
2010-08-16 8:47 ` [PATCH] missing inline keyword for static function in linux/dmaengine.h Dan Williams
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=1281790964.3017.5.camel@localhost.localdomain \
--to=mathieu.lacage@sophia.inria.fr \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=dan.j.williams@intel.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maan@systemlinux.org \
--cc=maciej.sosnowski@intel.com \
/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