From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7130C433DB for ; Wed, 6 Jan 2021 14:19:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70FE122DD3 for ; Wed, 6 Jan 2021 14:19:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbhAFOTo (ORCPT ); Wed, 6 Jan 2021 09:19:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbhAFOTn (ORCPT ); Wed, 6 Jan 2021 09:19:43 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CFCDC06134C for ; Wed, 6 Jan 2021 06:19:03 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 5C4F51F45F23 Message-ID: Subject: Re: [PATCH 3/6] media: ov9640: Use the generic clock framework From: Ezequiel Garcia To: Petr Cvek , linux-media@vger.kernel.org, Hans Verkuil Cc: kernel@collabora.com, Arnd Bergmann , Robert Jarzmik , Janusz Krzysztofik , Sakari Ailus Date: Wed, 06 Jan 2021 11:18:53 -0300 In-Reply-To: References: <20210104165739.116404-1-ezequiel@collabora.com> <20210104165739.116404-4-ezequiel@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Tue, 2021-01-05 at 17:18 +0100, Petr Cvek wrote: > > diff --git a/drivers/media/i2c/ov9640.h b/drivers/media/i2c/ov9640.h > > index a8ed6992c1a8..a1f9150b2050 100644 > > --- a/drivers/media/i2c/ov9640.h > > +++ b/drivers/media/i2c/ov9640.h > > @@ -180,6 +180,8 @@ enum { > >  }; > >  #define        H_SXGA  960 > >   > > +struct clk; > > + > > Seems to be unnecessary as struct clk will be included from ov9640.c (the same way struct v4l2_clk was). > > The rest seems fine by me. > Hm, I'm now wondering why I added that. Guess it can be dropped, yes. Thanks, Ezequiel