Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329AbbGLCrF (ORCPT ); Sat, 11 Jul 2015 22:47:05 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:36262 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752178AbbGLCrE (ORCPT ); Sat, 11 Jul 2015 22:47:04 -0400 MIME-Version: 1.0 In-Reply-To: <1436571223-10959-20-git-send-email-sboyd@codeaurora.org> References: <1436571223-10959-1-git-send-email-sboyd@codeaurora.org> <1436571223-10959-20-git-send-email-sboyd@codeaurora.org> Date: Sun, 12 Jul 2015 10:47:02 +0800 Message-ID: Subject: Re: [PATCH 19/45] clk: mxs: Include clk.h in C files that use it From: Shawn Guo To: Stephen Boyd Cc: Mike Turquette , "linux-kernel@vger.kernel.org" , linux-clk@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 18 On Sat, Jul 11, 2015 at 7:33 AM, Stephen Boyd wrote: > Clock provider drivers generally shouldn't include clk.h because > it's the consumer API. The clk.h include is being included in all > mxs files because it's part of mxs/clk.h even though nothing > actually requires it in that file. Move the clk.h include to the > C files that are actually using it and remove the clk.h include > from the header file. The clkdev.h include isn't used either, so > drop it too. > > Cc: Shawn Guo > Signed-off-by: Stephen Boyd Acked-by: Shawn Guo -- 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/