From patchwork Mon Jul 13 06:36:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Archit Taneja X-Patchwork-Id: 6774551 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 276B2C05AC for ; Mon, 13 Jul 2015 06:37:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4E9DE205E6 for ; Mon, 13 Jul 2015 06:37:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5965A205BD for ; Mon, 13 Jul 2015 06:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751678AbbGMGhL (ORCPT ); Mon, 13 Jul 2015 02:37:11 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55112 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751664AbbGMGhK (ORCPT ); Mon, 13 Jul 2015 02:37:10 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id AB5771408B1; Mon, 13 Jul 2015 06:37:09 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 9CDF61408BB; Mon, 13 Jul 2015 06:37:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (unknown [202.46.23.61]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2E9511408B1; Mon, 13 Jul 2015 06:37:07 +0000 (UTC) From: Archit Taneja To: dri-devel@lists.freedesktop.org, daniel@ffwll.ch Cc: linux-arm-msm@vger.kernel.org, airlied@linux.ie, Archit Taneja Subject: [PATCH 07/10] drm/sis: clean up: create a separate Kconfig file Date: Mon, 13 Jul 2015 12:06:30 +0530 Message-Id: <1436769393-3836-8-git-send-email-architt@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1436769393-3836-1-git-send-email-architt@codeaurora.org> References: <1436769393-3836-1-git-send-email-architt@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove the DRM_SIS config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 9 +-------- drivers/gpu/drm/sis/Kconfig | 8 ++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 drivers/gpu/drm/sis/Kconfig diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 198cb75..4b178a3 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -97,14 +97,7 @@ source "drivers/gpu/drm/i915/Kconfig" source "drivers/gpu/drm/mga/Kconfig" -config DRM_SIS - tristate "SiS video cards" - depends on DRM && AGP - depends on FB_SIS || FB_SIS=n - help - Choose this option if you have a SiS 630 or compatible video - chipset. If M is selected the module will be called sis. AGP - support is required for this driver to work. +source "drivers/gpu/drm/sis/Kconfig" config DRM_VIA tristate "Via unichrome video cards" diff --git a/drivers/gpu/drm/sis/Kconfig b/drivers/gpu/drm/sis/Kconfig new file mode 100644 index 0000000..8ad0276 --- /dev/null +++ b/drivers/gpu/drm/sis/Kconfig @@ -0,0 +1,8 @@ +config DRM_SIS + tristate "SiS video cards" + depends on DRM && AGP + depends on FB_SIS || FB_SIS=n + help + Choose this option if you have a SiS 630 or compatible video + chipset. If M is selected the module will be called sis. AGP + support is required for this driver to work.