From patchwork Tue Sep 6 07:50:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75475 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp415425qgf; Tue, 6 Sep 2016 00:51:21 -0700 (PDT) X-Received: by 10.66.119.11 with SMTP id kq11mr69933951pab.14.1473148281015; Tue, 06 Sep 2016 00:51:21 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kv2si34073141pab.145.2016.09.06.00.51.18; Tue, 06 Sep 2016 00:51:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755342AbcIFHvQ (ORCPT + 27 others); Tue, 6 Sep 2016 03:51:16 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:36375 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbcIFHvM (ORCPT ); Tue, 6 Sep 2016 03:51:12 -0400 Received: by mail-pf0-f180.google.com with SMTP id h186so71858568pfg.3 for ; Tue, 06 Sep 2016 00:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=2+FdEnfC0gHraDtUPd2lhaM9od8nZ6wXw7VBqTzy4ws=; b=VMc05FU37LHOxjneq9HQxoF0pzABuiK16h39LjqLRzvdEfRloWRpVfVleIJFloOnVO pPSZGJKLJ0Xm85XdIzwImb1k6BMdG7NnjT1eN15CXgeU46nqPIANL75dB17YSzoo2DMM I3kg7BFkw3nyznoZSL/kCwfCY9vPD7PxfpqtY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2+FdEnfC0gHraDtUPd2lhaM9od8nZ6wXw7VBqTzy4ws=; b=LVTZWLiKb1wxA5jy28Hxv6MGWjG6Hlpt2fSCjQrna7SY1oqtCXmAiFNDFR8TsnQ5WX M9hPKhu9uLWb1g3O3EPRDX3Aqr1+WR1+l0gHQ2380cZWgbNhDCVhw7VJXl/L4lT7zPAU ro3g5jIettn/r3rD74DQSole7YoWtvoJHGVSweBOlq89j3L/8xyoxOjA3kbWgkeKoV/b TN59jLk/YzbFnpLtl7eTscsbpuXDVGP8jvjgVaxC313rRkNMF0PfDAi8KAE6Y8CCz3dp SMgY0IXxPyp7ODpDmo0EBkLqW7qiJV8gU5LzTZzR/FyDIZqBrLElVtJpKQPhEUyUY0oH tBhg== X-Gm-Message-State: AE9vXwNmXgPI5EorHxMtRP8n+quTzT2dQ5aYkhcDxOkuWDSxo2OhhURliqLId75Cw20FgU+M X-Received: by 10.98.73.22 with SMTP id w22mr4795028pfa.62.1473148271305; Tue, 06 Sep 2016 00:51:11 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.17]) by smtp.gmail.com with ESMTPSA id l128sm38480062pfl.21.2016.09.06.00.51.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Sep 2016 00:51:10 -0700 (PDT) From: Baoyou Xie To: p.zabel@pengutronix.de, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] [media] coda: add missing header dependencies Date: Tue, 6 Sep 2016 15:50:56 +0800 Message-Id: <1473148256-25347-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning when building kernel with W=1: drivers/media/platform/coda/coda-h264.c:22:5: warning: no previous prototype for 'coda_h264_padding' [-Wmissing-prototypes] In fact, this function is declared in coda.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/media/platform/coda/coda-h264.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 Acked-by: Arnd Bergmann diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c index 456773a..09dfcca 100644 --- a/drivers/media/platform/coda/coda-h264.c +++ b/drivers/media/platform/coda/coda-h264.c @@ -13,6 +13,7 @@ #include #include +#include static const u8 coda_filler_nal[14] = { 0x00, 0x00, 0x00, 0x01, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80 };