From patchwork Sun Aug 12 08:49:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 1309471 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3439F3FC33 for ; Sun, 12 Aug 2012 10:31:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751050Ab2HLKbU (ORCPT ); Sun, 12 Aug 2012 06:31:20 -0400 Received: from www.linuxtv.org ([130.149.80.248]:35037 "EHLO www.linuxtv.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991Ab2HLKbS (ORCPT ); Sun, 12 Aug 2012 06:31:18 -0400 Received: from mchehab by www.linuxtv.org with local (Exim 4.72) (envelope-from ) id 1T0VS0-0007u3-LT; Sun, 12 Aug 2012 12:31:16 +0200 Message-Id: From: Mauro Carvalho Chehab Date: Sun, 12 Aug 2012 10:49:03 +0200 Subject: [git:v4l-dvb/for_v3.7] [media] cpia2: Declare MODULE_FIRMWARE usage To: linuxtv-commits@linuxtv.org Cc: linux-media@vger.kernel.org, Hans Verkuil , Tim Gardner , Mauro Carvalho Chehab Mail-followup-to: linux-media@vger.kernel.org Forward-to: linux-media@vger.kernel.org Reply-to: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/media_tree.git tree: Subject: [media] cpia2: Declare MODULE_FIRMWARE usage Author: Tim Gardner Date: Fri Aug 3 13:39:28 2012 -0300 Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: linux-media@vger.kernel.org Signed-off-by: Tim Gardner Signed-off-by: Mauro Carvalho Chehab drivers/media/video/cpia2/cpia2_core.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) --- http://git.linuxtv.org/media_tree.git?a=commitdiff;h=229fd7d2f19c650c34034885180f91574e837bbb -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/video/cpia2/cpia2_core.c b/drivers/media/video/cpia2/cpia2_core.c index 17188e2..187012c 100644 --- a/drivers/media/video/cpia2/cpia2_core.c +++ b/drivers/media/video/cpia2/cpia2_core.c @@ -31,11 +31,15 @@ #include "cpia2.h" +#include #include #include #include #include +#define FIRMWARE "cpia2/stv0672_vp4.bin" +MODULE_FIRMWARE(FIRMWARE); + /* #define _CPIA2_DEBUG_ */ #ifdef _CPIA2_DEBUG_ @@ -898,7 +902,7 @@ static int cpia2_send_onebyte_command(struct camera_data *cam, static int apply_vp_patch(struct camera_data *cam) { const struct firmware *fw; - const char fw_name[] = "cpia2/stv0672_vp4.bin"; + const char fw_name[] = FIRMWARE; int i, ret; struct cpia2_command cmd;