From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -mmotm] media: video/adp1653.c needs module.h Date: Wed, 3 Aug 2011 10:12:26 -0700 Message-ID: <20110803101226.0d17b23e.rdunlap@xenotime.net> References: <201108022357.p72NvsZM022462@imap1.linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-next@vger.kernel.org To: akpm@linux-foundation.org, linux-media@vger.kernel.org, mchehab@infradead.org Return-path: In-Reply-To: <201108022357.p72NvsZM022462@imap1.linux-foundation.org> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org From: Randy Dunlap adp1653.c uses interfaces that are provided by 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 --- 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 #include +#include #include #include #include -- 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: email@kvack.org