From: Randy Dunlap <rdunlap@xenotime.net>
To: akpm@linux-foundation.org, linux-media@vger.kernel.org,
mchehab@infradead.org
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
linux-fsdevel@vger.kernel.org, linux-next@vger.kernel.org
Subject: [PATCH -mmotm] media: video/adp1653.c needs module.h
Date: Wed, 3 Aug 2011 10:12:26 -0700 [thread overview]
Message-ID: <20110803101226.0d17b23e.rdunlap@xenotime.net> (raw)
In-Reply-To: <201108022357.p72NvsZM022462@imap1.linux-foundation.org>
From: Randy Dunlap <rdunlap@xenotime.net>
adp1653.c uses interfaces that are provided by <linux/module.h>
and needs to include that header file to fix build errors.
drivers/media/video/adp1653.c:453: warning: data definition has no type or storage class
drivers/media/video/adp1653.c:453: warning: parameter names (without types) in function declaration
drivers/media/video/adp1653.c:474: error: 'THIS_MODULE' undeclared (first use in this function)
and more.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/media/video/adp1653.c | 1 +
1 file changed, 1 insertion(+)
--- mmotm-2011-0802-1619.orig/drivers/media/video/adp1653.c
+++ mmotm-2011-0802-1619/drivers/media/video/adp1653.c
@@ -32,6 +32,7 @@
#include <linux/delay.h>
#include <linux/i2c.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <media/adp1653.h>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-08-03 17:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 23:19 mmotm 2011-08-02-16-19 uploaded akpm
2011-08-03 16:37 ` mmotm 2011-08-02-16-19 uploaded (fault-inject.h) Randy Dunlap
2011-08-03 17:12 ` Randy Dunlap [this message]
2011-08-04 0:23 ` [PATCH -mmotm] media: video/adp1653.c needs module.h Stephen Rothwell
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=20110803101226.0d17b23e.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@linux-foundation.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=mchehab@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).