From patchwork Wed Nov 18 01:50:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janakiram Sistla X-Patchwork-Id: 60905 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAI1p3Q6010481 for ; Wed, 18 Nov 2009 01:51:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753298AbZKRBu4 (ORCPT ); Tue, 17 Nov 2009 20:50:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753145AbZKRBu4 (ORCPT ); Tue, 17 Nov 2009 20:50:56 -0500 Received: from mail-yx0-f187.google.com ([209.85.210.187]:40981 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531AbZKRBuz (ORCPT ); Tue, 17 Nov 2009 20:50:55 -0500 Received: by yxe17 with SMTP id 17so641533yxe.33 for ; Tue, 17 Nov 2009 17:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=dP9CzW14+lFEjfldQHs2YtnUouN7taw+1UCAodJZnNI=; b=NZMA528AMIgQLl4BJzHQZ06i+tflvAQmhSjwou2lP5p9kL/ijn/0tIJFtiMzTHq4D8 ZQ0P4/ARZtEjHqX5b0Yf+6me485QSewNIU9p+KPdoHxTCugJ0pWrdMslYQWzD7CUi1HK tB9gYCmuWz7qQzjVA0IXSiw8zUP2GIYkLrOVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=rghmjIpw+JEES6S1lSlil/7/4fDFujI7LhGvUPk2H6p3NHQ9SzkY7an8QxTBapWFNr RNnfBkIFkSlrTCE6ViMmtNBUqW0wnuLoVFWytD8qPUCLHu1QOe4VdHRAcEITNAz61qjq 21lmvNjXWDYe33iLcaN2uF32ExspPrlP7Q7PY= Received: by 10.150.109.34 with SMTP id h34mr199226ybc.310.1258509061240; Tue, 17 Nov 2009 17:51:01 -0800 (PST) Received: from localhost ([59.164.99.103]) by mx.google.com with ESMTPS id 9sm1564076ywe.41.2009.11.17.17.50.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 17:50:59 -0800 (PST) From: Janakiram Sistla To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, Janakiram Sistla Subject: Date: Wed, 18 Nov 2009 07:20:54 +0530 Message-Id: <1258509054-10901-1-git-send-email-janakiram.sistla@gmail.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <> References: <> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index 3392c59..7ae75ef 100644 --- a/include/linux/rfkill.h +++ b/include/linux/rfkill.h @@ -35,6 +35,7 @@ * @RFKILL_TYPE_UWB: switch is on a ultra wideband device. * @RFKILL_TYPE_WIMAX: switch is on a WiMAX device. * @RFKILL_TYPE_WWAN: switch is on a wireless WAN device. + * @RFKILL_TYPE_FM: switch is on a wireless FM device. * @NUM_RFKILL_TYPES: number of defined rfkill types */ enum rfkill_type { @@ -44,6 +45,7 @@ enum rfkill_type { RFKILL_TYPE_UWB, RFKILL_TYPE_WIMAX, RFKILL_TYPE_WWAN, + RFKILL_TYPE_FM, RFKILL_TYPE_GPS, NUM_RFKILL_TYPES, }; diff --git a/net/rfkill/core.c b/net/rfkill/core.c index ba2efb9..61b716e 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c @@ -590,6 +590,8 @@ static const char *rfkill_get_type_str(enum rfkill_type type) return "wimax"; case RFKILL_TYPE_WWAN: return "wwan"; + case RFKILL_TYPE_FM: + return "fm"; case RFKILL_TYPE_GPS: return "gps"; default: