Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp673245imu; Fri, 16 Nov 2018 08:28:06 -0800 (PST) X-Google-Smtp-Source: AJdET5dq/ICYxvyKRKz93RJ5IkufgTy2jiymAv+75Xhra0hodAJ4tu4e9h3bihsvIr0X/Z/3ICSP X-Received: by 2002:a17:902:780a:: with SMTP id p10mr11870180pll.54.1542385686021; Fri, 16 Nov 2018 08:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542385685; cv=none; d=google.com; s=arc-20160816; b=e6DwqNfoNauBmb2j1tdaYZ0b6UMkq0fzTnbRz90o/gz7nzDa68DuSW6O5dTxc8hpOh Ca1h1IMjlX+Wy1rhm3p5GSnsviOLrOomZbLcXb/wGS+yHXKsCYNfB+M00+JOTzBdeA6d VXXjaZiFKL9HYqLDNi2H5t0OA6nf3YFDv+m/7jKBgSmT7kIkAir78Dnl2hv1+E06bg8K Qcmop3mk3twmS3rGI+bEuow3ICABArL/UGpE3aPVr19d2Fe9xFYUG8vUXIfi8UczAFe2 lp/Sht5LGz87x/251xKomrgzGlyhBu4bbMNtbWi0UOjizNYf9e14uqr/VUr87jFMgM+j 391Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=m1nPdQ9G4dzvk9lGjI3waP3Gn45E+6mwhTrJVqcDpy0=; b=m2CEjasuoPyKHLqBiB4xsWP2LYsaOUb55d/v1FcuB12O0keKf4AyeuOpisSRLmOtvP A6arfuzAiqUMyma33bjaJeR6fnEZIB9oHpHG5xeF/S9ZVJpQtrxyDnLkYFnlzrxYkhFk NHfjYPgeIlYthWx2RgJdRpWdnWyrg3XtqrwwF4L0/YqV08NBeTuuohIg9pphVF0C4o75 T5u9AsB0HUOdc+d/A/DIgHejCJ9uhiW/eaEKhu3S6OGWITDWPbxOye07TVMoeBC43ZDi fUVfAq9a4jbVc5u27Gp7twoBE0N2bQSa0oSpAbXaF7Fv/hYcP3crndXrg12ddNDXctWK Yo/g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si4829707pfi.12.2018.11.16.08.27.51; Fri, 16 Nov 2018 08:28:05 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390158AbeKQCht (ORCPT + 99 others); Fri, 16 Nov 2018 21:37:49 -0500 Received: from shell.v3.sk ([90.176.6.54]:57013 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729055AbeKQCht (ORCPT ); Fri, 16 Nov 2018 21:37:49 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id BCB3D52C25; Fri, 16 Nov 2018 17:24:43 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uHg12MCDu4YE; Fri, 16 Nov 2018 17:24:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 63FCD53196; Fri, 16 Nov 2018 17:24:21 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yYgHHKL_y3m5; Fri, 16 Nov 2018 17:24:16 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 215D452C13; Fri, 16 Nov 2018 17:24:15 +0100 (CET) From: Lubomir Rintel To: Mark Brown , Geert Uytterhoeven , Darren Hart , Andy Shevchenko Cc: Greg Kroah-Hartman , James Cameron , Sebastian Reichel , Rob Herring , Mark Rutland , Eric Miao , Haojian Zhuang , Daniel Mack , Robert Jarzmik , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, platform-driver-x86@vger.kernel.org, devel@driverdev.osuosl.org, linux-pm@vger.kernel.org, Lubomir Rintel Subject: [PATCH v2 04/17] Revert "platform/olpc: Make ec explicitly non-modular" Date: Fri, 16 Nov 2018 17:23:50 +0100 Message-Id: <20181116162403.49854-5-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181116162403.49854-1-lkundrak@v3.sk> References: <20181116162403.49854-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It doesn't make sense to always have this built-in, e.g. on ARM multiplatform kernels. A better way to address the problem the original commit aimed to solve is to fix Kconfig. That is what the next commit in the series does. This reverts commit f48d1496b8537d75776478c6942dd87f34d7f270. Signed-off-by: Lubomir Rintel --- Changes since v1: - Sort it later in the patch set drivers/platform/olpc/olpc-ec.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc= -ec.c index 981955dce926..35a21c66cd0d 100644 --- a/drivers/platform/olpc/olpc-ec.c +++ b/drivers/platform/olpc/olpc-ec.c @@ -1,8 +1,6 @@ /* * Generic driver for the OLPC Embedded Controller. * - * Author: Andres Salomon - * * Copyright (C) 2011-2012 One Laptop per Child Foundation. * * Licensed under the GPL v2 or later. @@ -14,7 +12,7 @@ #include #include #include -#include +#include #include #include =20 @@ -327,4 +325,8 @@ static int __init olpc_ec_init_module(void) { return platform_driver_register(&olpc_ec_plat_driver); } + arch_initcall(olpc_ec_init_module); + +MODULE_AUTHOR("Andres Salomon "); +MODULE_LICENSE("GPL"); --=20 2.19.1