Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756238AbbFBJHa (ORCPT ); Tue, 2 Jun 2015 05:07:30 -0400 Received: from lb1-smtp-cloud6.xs4all.net ([194.109.24.24]:45927 "EHLO lb1-smtp-cloud6.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754884AbbFBJHW (ORCPT ); Tue, 2 Jun 2015 05:07:22 -0400 Message-ID: <1433236034.2361.90.camel@x220> Subject: Re: [PATCH v3] Add TI CDCE925 I2C controlled clock synthesizer driver From: Paul Bolle To: Mike Looijmans Cc: linux-clk@vger.kernel.org, sboyd@codeaurora.org, mturquette@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Tue, 02 Jun 2015 11:07:14 +0200 In-Reply-To: <556D6CB4.30900@topic.nl> References: <1433153623-29205-1-git-send-email-mike.looijmans@topic.nl> <1433231444.2361.75.camel@x220> <556D6CB4.30900@topic.nl> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1431 Lines: 35 On Tue, 2015-06-02 at 10:43 +0200, Mike Looijmans wrote: > Out of curiousity, I did try a compile on the x86 host, but couldn't select > the driver because it depends on CONFIG_OF, so I just compiled if for the ARM > target to verify that it still compiles in kernel 4.1. How did you manage to > compile the driver on the x86? With this hack: make drivers/clk/clk-cdce925.o (I thought this is documented somewhere, but I can't actually find the documentation. I guess it's just a feature of make.) It bypasses much of the build infrastructure, but comes in handy when you quickly want to know whether something can actually be build. Eg, you see some code and wonder "how can this build?" (Sometimes this requires setting CFLAGS on the make command line, or adding things like CONFIG_WHATEVER=y to the command line to get sane results, for some value of sane. By that time I usually give up.) Downside is, of course, that you can build things outside of the supported configurations. So it's best to state clearly that one built something using this hack. I sinned against that rule, but apparently got lucky, because this driver is not 32 bits only! Thanks, Paul Bolle -- 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/