From patchwork Tue Apr 26 21:44:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 615338 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wm0-x23a.google.com (mail-wm0-x23a.google.com [IPv6:2a00:1450:400c:c09::23a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qvc853WrSz9t3q for ; Wed, 27 Apr 2016 07:45:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=nnUaTd5K; dkim-atps=neutral Received: by mail-wm0-x23a.google.com with SMTP id r12sf16410887wme.0 for ; Tue, 26 Apr 2016 14:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=3kNWMmcD+mo0fIXtb3fgZwYgPG08HWiWr8ByLjsbs38=; b=nnUaTd5K4G8WTQ5AdMEA/D+bJ1F78B8o/4/EbwTXwuv1a4OoochXsFBnI4hQIcSp9q 5hGCGu4SsMgmu81H/9q9QCGZGRTW2b6/mETDE69nh8ozanTFyv2pSGryA8NYLLLRKZmh ZxwPxuFwmQ+NvF5W0uvlcuT7vYILeMj3Q9jaDCO+UbV6SpWBRda8hi8TFIDdNeCNf0SF v+YIm7dufsDVr/NaM8tARH7XkFxxxSpNOjMuKBOeAYv1/rSI+t8Hr5BOfsmJhSWeFH4f FXfs+ERWKBNRcOp8nk/s1TIhMIeKszrIJC5bpz/n0NDOLIJWdMe60ak4bH9oaLznRovt pMtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=3kNWMmcD+mo0fIXtb3fgZwYgPG08HWiWr8ByLjsbs38=; b=FDJBgQZDOABTQACn7YgAk8T/XDTV5L5AR85HtrFd5llSdBBYlCB6e2Xn+GCm4w0NwY 26OMo8kMJ9YbrO4ak0FPehGNgCf4f1WGDn2DsjtMhCYTBRBEvh1+HenpG21ZK2nG9wSk bPVNR3nF/J1977ITLJaQohfqUJmLSvwFhrCdQ1z2/DuPJ5ukhu4WFpm/uG3ssIp84BJQ qtPUvBrftV4TidHGfemAZzcGXEDFzPoXZGOIE06uP4lKul4jxUUsfyOyRr1kCArzGCuP jniwK1xkm9X1Ogj1PuLpFTYyNHIBQcUWOo5GqwmWPrQC0+/C82b0vtH4IKxMRE/CsYDH VUJQ== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AOPr4FXAWGBtM8U8Pstcc+ngUkxA5476tXGvjEg1XrX95w/nrHeYzK0ZyhC+Z7bLEcv3cA== X-Received: by 10.28.167.129 with SMTP id q123mr86254wme.3.1461707107002; Tue, 26 Apr 2016 14:45:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.28.20.8 with SMTP id 8ls890085wmu.5.gmail; Tue, 26 Apr 2016 14:45:06 -0700 (PDT) X-Received: by 10.28.184.199 with SMTP id i190mr640171wmf.6.1461707106637; Tue, 26 Apr 2016 14:45:06 -0700 (PDT) Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.126.187]) by gmr-mx.google.com with ESMTPS id t18si628196wmt.0.2016.04.26.14.45.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Apr 2016 14:45:06 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.187; Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0LnFtp-1bMHvz3KpB-00hKDR; Tue, 26 Apr 2016 23:44:51 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , tony.luck@intel.com, geert@linux-m68k.org, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, dalias@libc.org, dhowells@redhat.com, yasutake.koichi@jp.panasonic.com, rth@twiddle.net, ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org, x86@kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, rtc-linux@googlegroups.com, linux-arch@vger.kernel.org Subject: [rtc-linux] [PATCH 7/8] char/genrtc: disallow building on Alpha Date: Tue, 26 Apr 2016 23:44:11 +0200 Message-Id: <1461707052-1337718-8-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1461707052-1337718-1-git-send-email-arnd@arndb.de> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:Bs9peEVr1AVnKuL2byYQVF5LlxOxdHfDlKyTdv/sarHijJ9i5al 9TDFuhwQdPztANrp0yvv5rRjEiuWyFfFND+/2NYDnpbvvvVXQknhopqAoP9zpvGVkRaRUER 3JiIxjssJuAN3RoPMe1c4a1I/EmXQ8IlDghJvSrmlC2dWXFZJmFVB5ACHtFgRY6SZlIG7eq kAa5wdh2isSh4F0VQKyNw== X-UI-Out-Filterresults: notjunk:1; V01:K0:ObW0x+54NAs=:CbY84Rb0NXyHX8HuuReVQE gGBcVRijGZebo5y1M+OgG0BgtqDfR2KQlU/njzRNR9Vv9uBAGkq89jQ2srJBR+a8t0a16eCdQ OaDY3UY0Fqg0sFVM3gMsXQNq8/vbrN46MadkgXcm59mWJjegoHK11RN3Ox/2Bph83j8Pa/Zbw 2+KiGpb3dP1PPCtgmSraUEnBUZZTNLoC8zilXoYSBV6AHHBMrnzEpMTk7/6DFFFt7sYqpgD8t IM8tHlfoIU0rXhDaMB1X6N3vB4UJgBKsS7kbKv+35yP95mFi2LmPJ+u/nAO+f//6u/WNs+PCl 8dctboMMFgGZRbaKzC5M2Yt4jP+EGbxfOsFbFcdZVZyGm6hvZI8ElYdcsLMKWNTEn7VL6zxUq oONt7UWaHY7aGBB8IMYZ+G1lNayuEq3f0bTWCqP3EUL4D5om4ET1PEuh++SJotwcHTpYbGGT1 Hqraiv0p1H1wiedFznIjkM9ZMFihUl3K4eKYEnXANhIR2T4AeeZKxc5rSXEJkrwI0K9L8u0jZ l4NyJyR43R/E1D9nC3frSbEUrh+OWZmOc2UaiGS+1mLYucTHmnmIJOFnYbAr3AbM1VmHqBovJ JwbucOkibn/CA4q75YMec8atNQE82NumGipYECRFhl9nFS74ZffWqT1tuIJKUMZP0ZtWqDWJN lQ/Z8yuy8zMKMcOaWRJBu929IVaNHxcvfW8tePK4m+XRldjS2ZZ96cREPKVtArF2nXzc= X-Original-Sender: arnd@arndb.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mailfrom=arnd@arndb.de Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , The genrtc driver serves no purpose on Alpha because it drives the same hardware as the original rtc.c driver, and the newer rtc-generic.c or rtc-cmos.c drivers on architectures that use the asm-generic/rtc.h header. The defconfig uses CONFIG_RTC=y, so this driver is not used by default. At one point it was used to abstract a quirk for the "Marvel" platform, but it does not do this any more after the code was moved into yet another driver in arch/alpha/kernel/rtc.c. Signed-off-by: Arnd Bergmann --- drivers/char/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 9bdb629fbaae..697510325b1d 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -328,7 +328,7 @@ config JS_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" depends on RTC!=y - depends on ALPHA || M68K || MN10300 || PARISC || PPC + depends on M68K || MN10300 || PARISC || PPC ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you