Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752162AbbGMXqe (ORCPT ); Mon, 13 Jul 2015 19:46:34 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55799 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbbGMXqc (ORCPT ); Mon, 13 Jul 2015 19:46:32 -0400 X-AuditID: cbfec7f5-f794b6d000001495-ee-55a44dd4616a Message-id: <55A44DD3.9020005@samsung.com> Date: Tue, 14 Jul 2015 08:46:27 +0900 From: Krzysztof Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-version: 1.0 To: Stephen Boyd Cc: Mike Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Chanwoo Choi , Sylwester Nawrocki Subject: Re: [PATCH 22/45] clk: samsung: Properly include clk.h and clkdev.h References: <1436571223-10959-1-git-send-email-sboyd@codeaurora.org> <1436571223-10959-23-git-send-email-sboyd@codeaurora.org> <55A0C0A6.8060600@samsung.com> <55A42299.3040809@codeaurora.org> In-reply-to: <55A42299.3040809@codeaurora.org> Content-type: text/plain; charset=iso-8859-2 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsVy+t/xy7pXfJeEGny5aWFx/ctzVovXLwwt PvbcY7W4vGsOm8XFU64Wh9+0s1r8ONPN4sDu8f5GK7vH5b5eJo++LasYPT5vkgtgieKySUnN ySxLLdK3S+DKmPpgJ3PBRe6K5at6mBoYT3J2MXJySAiYSLyf+o8FwhaTuHBvPRuILSSwlFHi xVU5CPspo0RHqx6IzSugJfFpzxmwehYBVYkLF+6D2WwCxhKbly8B6xUViJB4e/kkE0S9oMSP yffAakQE1CW+7zgJVMPFwSywh1Hi/PpdYEXCAj4SV7/sYQRJCAkcZpRYtKgVLMEpoCfx98Ed 1i5GDqAOHYmvkyJAwswC8hKb17xlnsAoMAvJjlkIVbOQVC1gZF7FKJpamlxQnJSea6RXnJhb XJqXrpecn7uJERLUX3cwLj1mdYhRgINRiYd3guWSUCHWxLLiytxDjBIczEoivOw+QCHelMTK qtSi/Pii0pzU4kOM0hwsSuK8M3e9DxESSE8sSc1OTS1ILYLJMnFwSjUw2tjI9Pa431Z7U7/N ZV/RsUdfos2rz+5ascM38P7xK6LmEukv5jom/c3+l5F40v75DF739z8vPDfOP1dleFVuavWf dM2nnCEnv+hwiPlN25J1aPX+6wc57l/NYkqxf7vH6kDyAd59zYvYhaJ/y29yVVvO/fqi1aTv ccEaiac89F7NW3fd8O6Em0osxRmJhlrMRcWJAIh4OztmAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1691 Lines: 48 On 14.07.2015 05:42, Stephen Boyd wrote: > On 07/11/2015 12:07 AM, Krzysztof Kozlowski wrote: >> W dniu 11.07.2015 o 08:33, Stephen Boyd pisze: >> >>> diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c >>> index 0117238391d6..f38a6c49f744 100644 >>> --- a/drivers/clk/samsung/clk.c >>> +++ b/drivers/clk/samsung/clk.c >>> @@ -11,6 +11,10 @@ >>> * clock framework for Samsung platforms. >>> */ >>> +#include >>> +#include >>> +#include >>> +#include >>> #include >>> #include >>> diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h >>> index b775fc29caa5..aa872d2c5105 100644 >>> --- a/drivers/clk/samsung/clk.h >>> +++ b/drivers/clk/samsung/clk.h >>> @@ -13,10 +13,11 @@ >>> #ifndef __SAMSUNG_CLK_H >>> #define __SAMSUNG_CLK_H >>> -#include >>> #include >>> #include "clk-pll.h" >>> +struct clk; >>> + >> Hmmm... why? Including clk-provider (which declares struct clk in your >> last patch) is not sufficient? >> > > I hope to eventually remove the forward declaration of struct clk in > clk-provider.h too. That will take some more time though. I can leave > this part out of the patch if you like and add it back when that work is > done, it doesn't matter to me. Thanks for explanation, it's fine as it is. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/