From patchwork Mon Oct 11 09:06:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Chinea X-Patchwork-Id: 245021 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9B9732M014574 for ; Mon, 11 Oct 2010 09:07:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753650Ab0JKJGP (ORCPT ); Mon, 11 Oct 2010 05:06:15 -0400 Received: from mgw-sa02.nokia.com ([147.243.1.48]:41324 "EHLO mgw-sa02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753995Ab0JKJFp (ORCPT ); Mon, 11 Oct 2010 05:05:45 -0400 Received: from nokia.com (localhost [127.0.0.1]) by mgw-sa02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id o9B95hSQ013469; Mon, 11 Oct 2010 12:05:43 +0300 Received: from localhost.localdomain ([helruo-dhcp022198.ntc.nokia.com [172.21.22.198]]) by mgw-sa02.nokia.com with RELAY id o9B95EHo012964 ; Mon, 11 Oct 2010 12:05:17 +0300 From: Carlos Chinea To: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org, Andras Domokos Subject: [RFC PATCHv3 5/7] HSI CHAR: Add HSI char device kernel configuration Date: Mon, 11 Oct 2010 12:06:26 +0300 Message-Id: <1286787988-29013-6-git-send-email-carlos.chinea@nokia.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1286787988-29013-1-git-send-email-carlos.chinea@nokia.com> References: <1286787988-29013-1-git-send-email-carlos.chinea@nokia.com> X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 11 Oct 2010 09:07:04 +0000 (UTC) diff --git a/drivers/hsi/Kconfig b/drivers/hsi/Kconfig index 07987b6..94fc793 100644 --- a/drivers/hsi/Kconfig +++ b/drivers/hsi/Kconfig @@ -11,5 +11,6 @@ menuconfig HSI if HSI source "drivers/hsi/controllers/Kconfig" +source "drivers/hsi/clients/Kconfig" endif # HSI diff --git a/drivers/hsi/Makefile b/drivers/hsi/Makefile index d020ae1..ebc91b3 100644 --- a/drivers/hsi/Makefile +++ b/drivers/hsi/Makefile @@ -2,4 +2,4 @@ # Makefile for HSI # obj-$(CONFIG_HSI) += hsi.o -obj-y += controllers/ +obj-y += controllers/ clients/ diff --git a/drivers/hsi/clients/Kconfig b/drivers/hsi/clients/Kconfig new file mode 100644 index 0000000..3bacd27 --- /dev/null +++ b/drivers/hsi/clients/Kconfig @@ -0,0 +1,13 @@ +# +# HSI clients configuration +# + +comment "HSI clients" + +config HSI_CHAR + tristate "HSI/SSI character driver" + depends on HSI + ---help--- + If you say Y here, you will enable the HSI/SSI character driver. + This driver provides a simple character device interface for + serial communication with the cellular modem over HSI/SSI bus. diff --git a/drivers/hsi/clients/Makefile b/drivers/hsi/clients/Makefile new file mode 100644 index 0000000..327c0e2 --- /dev/null +++ b/drivers/hsi/clients/Makefile @@ -0,0 +1,5 @@ +# +# Makefile for HSI clients +# + +obj-$(CONFIG_HSI_CHAR) += hsi_char.o diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 626b629..24c35fc 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -2,6 +2,7 @@ header-y += byteorder/ header-y += can/ header-y += dvb/ header-y += hdlc/ +header-y += hsi/ header-y += isdn/ header-y += nfsd/ header-y += raid/ diff --git a/include/linux/hsi/Kbuild b/include/linux/hsi/Kbuild new file mode 100644 index 0000000..271a770 --- /dev/null +++ b/include/linux/hsi/Kbuild @@ -0,0 +1 @@ +header-y += hsi_char.h