From patchwork Tue Sep 2 15:22:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 4826551 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CE5B6C0338 for ; Tue, 2 Sep 2014 15:26:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B6B020160 for ; Tue, 2 Sep 2014 15:26:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11A08200E6 for ; Tue, 2 Sep 2014 15:26:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753692AbaIBP0r (ORCPT ); Tue, 2 Sep 2014 11:26:47 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:60788 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbaIBP0q (ORCPT ); Tue, 2 Sep 2014 11:26:46 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBA003HL5KKHU30@mailout4.samsung.com>; Wed, 03 Sep 2014 00:26:44 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D4.9F.04442.3B1E5045; Wed, 03 Sep 2014 00:26:43 +0900 (KST) X-AuditID: cbfee690-f79ce6d00000115a-a5-5405e1b3f30f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id F5.29.04943.3B1E5045; Wed, 03 Sep 2014 00:26:43 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBA004J75JW8B90@mmp1.samsung.com>; Wed, 03 Sep 2014 00:26:43 +0900 (KST) From: Naveen Krishna Chatradhi To: linux-serial@vger.kernel.org Cc: naveenkrishna.ch@gmail.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Pankaj Dubey , Greg Kroah-Hartman Subject: [PATCH] tty/serial: fix config dependencies for samsung serial Date: Tue, 02 Sep 2014 20:52:00 +0530 Message-id: <1409671320-7604-1-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsWyRsSkWnfzQ9YQg6efbCyaF69ns9j0+Bqr xeVdc9gsZpzfx2RxZnEvu8Wibf+ZLRZt/cLuwO6xc9Zddo/9c9ewe2xeUu/Rt2UVo8fnTXIB rFFcNimpOZllqUX6dglcGbsX32UvOMdRsfzcTLYGxqnsXYycHBICJhK7eqcyQdhiEhfurWcD sYUEljJKtE+sh6m5P/EjK0R8EaPE4b9iXYxcQHY/k8S6k0uZQRJsAmYSBxetBhsqIqAg8abl JTNIEbPAU0aJy8dWgU0VFnCXuPPwJNAkDg4WAVWJhxvlQMK8Ai4Su5fOZwcJSwD1zplkA9Iq IfCfTWL5uj6wmSwCAhLfJh9igaiRldh0gBniNkmJgytusExgFFzAyLCKUTS1ILmgOCm9yESv ODG3uDQvXS85P3cTIzBgT/97NmEH470D1ocYBTgYlXh4JX6whAixJpYVV+YeYjQF2jCRWUo0 OR8YF3kl8YbGZkYWpiamxkbmlmZK4ryvpX4GCwmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamD0 ZFqQGnqquk/RlfuG610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loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Pankaj Dubey Make the config symbols SERIAL_SAMSUNG_UARTS_4 and SERIAL_SAMSUNG_UARTS depend on SERIAL_SAMSUNG rather than PLAT_SAMSUNG. Signed-off-by: Pankaj Dubey Signed-off-by: Naveen Krishna Chatradhi Cc: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 26cec64..4f27f0c 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -230,14 +230,14 @@ config SERIAL_SAMSUNG config SERIAL_SAMSUNG_UARTS_4 bool - depends on PLAT_SAMSUNG + depends on SERIAL_SAMSUNG default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442) help Internal node for the common case of 4 Samsung compatible UARTs config SERIAL_SAMSUNG_UARTS int - depends on PLAT_SAMSUNG + depends on SERIAL_SAMSUNG default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416 default 3 help