Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3964680imm; Mon, 11 Jun 2018 04:57:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKgnhRy2CN2Wt6EUL4ptcTCgjAI3/Hg2W4ZehVM9UR9C8E9MVEvNv5JqH3+rp9Ox6dlRR42 X-Received: by 2002:a17:902:9a06:: with SMTP id v6-v6mr18183752plp.21.1528718234003; Mon, 11 Jun 2018 04:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528718233; cv=none; d=google.com; s=arc-20160816; b=zisNLfxkRHbabNkZNFYP67QXAHlIQsxZI9rg5E+xg78X2aQAlrL1zSJht5gGNlVmBB xQPYCzqNnOo1zmRFD6ZrsiF6O8a59PIn3jwHOWl1i0orr5e/iZrAY6cgllKE+aRDCDHA neAha90YY4rLeoRfkK7IMc+jeyoSJAvW9Iko/VB4NSKQvcUzs4cEj4mLsEQIwzUSiVTm SgMIbWnPuQ9zRWmhymIhd/fXJktLUsoF5VUsiyBhpANjWt08YbckNmuxdcGu+3qVwaDt qXFQxlQO2HaAvPepZxca5ghdMqxDkaI3gH0pU55sTjnYa1CFGlUnWQ4gR42Hmpax9LA0 4j6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=XNfhu7uXwhrvFzGOIoFdDoFjyRco9xidHWDg5YHJW/c=; b=OwUyc04MkeL3S//YQBZBWHmD46XBBcFpXpC9TpA7io3wzw16BLuP2EuasVuksAnR1T nB5KG+g9XxykDlen8oKk2R7Ap6O8SVKkQp52mIrue3sjB3caYL00gjeLFS8aaDyIxjuB aD4jUZ4NtDI1LnlCkkBEIb8vG3XQrBi58Q8amth+kJ/l/ag+28+RL2Fwpcqf1h2AAboR lT/lHoi2IEkLfOm+7n2vwIX2BurYVXFjD0t93DS2yTnKyhRQlK7KlyDEmwiFfVYNHuCJ vOhJQiovlHoci/4e3ffXLe/Nmg/jADZxVCua41w7ZkSpbjRfxeuiBOy5bLzXufarkkTv fGaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IF228xrf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3-v6si18896775pli.18.2018.06.11.04.56.59; Mon, 11 Jun 2018 04:57:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IF228xrf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933175AbeFKLxW (ORCPT + 99 others); Mon, 11 Jun 2018 07:53:22 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:37385 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933151AbeFKLxS (ORCPT ); Mon, 11 Jun 2018 07:53:18 -0400 Received: by mail-lf0-f66.google.com with SMTP id g21-v6so28111372lfb.4; Mon, 11 Jun 2018 04:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XNfhu7uXwhrvFzGOIoFdDoFjyRco9xidHWDg5YHJW/c=; b=IF228xrfMTOrdqh6XXCA/qxmx48UsnM8hEZCAVNUrXLqsQRjKTNZ6xvMQ5VsfkSC17 +a6L0tYPugw5G1myjMm28rTz6vCsbo5s3ZFqi2DBoG4B0bgWI97dk6WsuzYu1gCLpnXU mYoeaJKSXZnOW5Gk8Ln6HR13t4WSlxdE32lKuE7wJabw1TRNAAyFTY+jYiuDGx+OH+Mj v1BfK/ZuyHT/G+IUD7cXHgXk45rlS+uy+barUXceJOM6eZ2X3ZSlHZZdF6W3rZtGlgBF rU+vjxx8v05nMVz5maq87liuBet49DVbfdOz2cutO3Pf+X6EtGXUGbZ2fWaIqo6Z8Pi5 fCBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XNfhu7uXwhrvFzGOIoFdDoFjyRco9xidHWDg5YHJW/c=; b=kBo4LqgVzlmXQ+7gtFfGCWot320C7jCs+4nifG3TAKPaxdBZHgamucegFeL3Kl2FP3 6ytqKvoDCAk0icvyS8Hs8tpsRSxbw8E1Lrpdo6sxOHxB8oUH6V3gsolBcsVM2FHzjGAN xaE0zvZ8SV6Kdgg3RVRkNCWUkxjSulQH3SHlQzRsXktHm8e3xmZsECNqKp1cUWTHehXz vZVdu543+oDlYxg/FZIi381e3HgGwpoSSfh0j1ppYoWbCsb2JWAckUm1ADaaLkzqERIV Q2ZdOjbhhnPuDiA//uivYCu1/EhO4fKdqOZJyy2EhrTG1kMHTVOK87QZZsbt5445r/PD Dlkg== X-Gm-Message-State: APt69E2B7KNhNuOrnI4GVFe/9JKtSlw6vfEvaFRaRFP+4+a10ho6hcfR Om4EeJ3nxjM2SBOjCGDaTFNrFMQw X-Received: by 2002:a2e:458a:: with SMTP id s132-v6mr11074628lja.92.1528717996749; Mon, 11 Jun 2018 04:53:16 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h90-v6sm8332849ljf.65.2018.06.11.04.53.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 04:53:15 -0700 (PDT) From: Ricardo Ribalda Delgado To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Ricardo Ribalda Delgado , Marcel Holtmann , Johan Hedberg , Rob Herring , Johan Hovold , linux-bluetooth@vger.kernel.org Subject: [PATCH v2 13/24] Bluetooth: hci_nokia: MODULE_DEVICE_TABLE(serdev) Date: Mon, 11 Jun 2018 13:52:29 +0200 Message-Id: <20180611115240.32606-14-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611115240.32606-1-ricardo.ribalda@gmail.com> References: <20180611115240.32606-1-ricardo.ribalda@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export serdev table to the module header, allowing module autoload via udev/modprobe. Cc: Marcel Holtmann Cc: Johan Hedberg Cc: Rob Herring Cc: Johan Hovold Cc: linux-bluetooth@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- drivers/bluetooth/hci_nokia.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/hci_nokia.c b/drivers/bluetooth/hci_nokia.c index eb3d59894aef..fef285608f10 100644 --- a/drivers/bluetooth/hci_nokia.c +++ b/drivers/bluetooth/hci_nokia.c @@ -803,8 +803,10 @@ MODULE_DEVICE_TABLE(of, nokia_bluetooth_of_match); static struct serdev_device_id nokia_bluetooth_serdev_id[] = { { "hp4-bluetooth", }, + { "nokia-bluetooth", }, {} }; +MODULE_DEVICE_TABLE(serdev, nokia_bluetooth_serdev_id); static struct serdev_device_driver nokia_bluetooth_serdev_driver = { .probe = nokia_bluetooth_serdev_probe, -- 2.17.1