Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3373779imm; Tue, 29 May 2018 06:14:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqaZ9vktrZo+vDmiOtcRrXxP3f9hHMTmlBD5YiAT2IuDQYYSXdPY6NoW0Szpm+IlvkAFqo+ X-Received: by 2002:a65:4d08:: with SMTP id i8-v6mr11904538pgt.427.1527599681952; Tue, 29 May 2018 06:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527599681; cv=none; d=google.com; s=arc-20160816; b=vAuwl8/z7Q0i9CipzkSMxqdkxmyN1pYZwqF6FO/IPIPKEdwoOFcDlrzblybziYZoJB 6z39KtwLjQ4m1N79IWgZm/09JEXXAxIpP/NnOxXYM8drMBHIIRfwP4Xcor+lqP8Ai6G6 ATwsJC4Bx3ndevjZ1+j4HjMudNEclZ8nDP14tQVxOakebqTOX7OxQiyVJFkVj8zCJ/rw gPLz1vNPYmMRuiSSHLAYcRCpMJPXC6e2NCOTDPtvYhZ5QUwARSPS+6ByqbM/HqvFDYJu rfxzOT2wld7XZFVRwmGM0p94dwNBsm7rGJuEC2ghGmTX8J8rjKZCZlQ/8shjgj0FOJza tTNA== 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=I8LkrWknWeQPm4S+N1KlxXrECE2pj4OLVDKdhT930/Q=; b=IgbodAYn/xcyS3pdWqqTjzWW0e3dCoAoHku0x0LYZOCVnmADP7VkFWjfoM2avY4Pjr 2kJ75MKACDK5PVo5Av0iBeW3dNbe2VkMb0DHy+zJKkxcFPiVvZt3vRWFh9QwrsCe6qVX PDJwaVvEHr8kAFXV0kix0urbzIZjpXFD11P+m1de7q0BShn7OuMm0wAPVCDgcIlnJraM oTavr4vvag26oXlfDkBYn1YZrxMF9zL7cSDGvSkcl3+G3Ob+eMl9Rpoxwffg/6X0fmnb NNg9B4ct+SRh3RK0NGlp1i23rt4e7+u0Cn5FDOXHwXxzaQT8dXF9juuPcMq5zmzD7BpC wPLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YBoN72fu; 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 u20-v6si14536684pgv.318.2018.05.29.06.14.28; Tue, 29 May 2018 06:14:41 -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=YBoN72fu; 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 S934659AbeE2NLC (ORCPT + 99 others); Tue, 29 May 2018 09:11:02 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36282 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934564AbeE2NKv (ORCPT ); Tue, 29 May 2018 09:10:51 -0400 Received: by mail-wm0-f68.google.com with SMTP id v131-v6so21221697wma.1; Tue, 29 May 2018 06:10:50 -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=I8LkrWknWeQPm4S+N1KlxXrECE2pj4OLVDKdhT930/Q=; b=YBoN72fubI50H/REpBH7yeOrrmE1eMxKNQkulhe1abGlfNXxVN06u3BdvSAdZKwDNR kcUAgIY29vSgxh09F6e4bNjvExatps9WdxC7MRvxuttYGyTOuZ7CzUz/2Cc9qNEjjLHj yljakS1IUJdMLCtNoMQ2Ofa0F3f/yimZNMNq2pgM1HbqVQ2IfhG1E+Vr5JOtVG6scYBN EM/aXtSjedsMDzHniG78zGNRFyzuhFV6JG9TXUI1pRo+we1/e+UppV//kTFzEHSLLbyV 5n5ukljloP9kNut2uriKLn1c9e7PD6UTVzQGk6aSvzTieNrtwFKmGbSmbIF/utAVwKAp B0wg== 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=I8LkrWknWeQPm4S+N1KlxXrECE2pj4OLVDKdhT930/Q=; b=sjmu/qQ5k3aLVwEqpigvlBFNo+o+YJs82qfIcqatgDx7iJzKziHe45ZcCtkC6oRwas LVHRgAG5HohoHSOD5nxO+z7gOrsD9LGyDBuX1lPP9yzPddpNBw5AH6AiytoJkBLfXGpU ZX+KO5Gxw4KNllmNXHSOqgTxnygcc2LYX3SeOGgOivgFxF3+jHdD0h68Sj3sLWWNbelc hklEdofW2mBo4gdSd+II1rvXw0pifL2kJyhsnHjCmJRZ/cUlS/EZyquLOC4kxeIBKM6L sjqyup3IItNciNtTdsBGpcZTxtZmZEe/IbKgMO1VDNycupdI4pyHjAz30Q7P6lIVCaqR JWzg== X-Gm-Message-State: ALKqPweZ4v6oth8yxFsAQosbiDkZC50epsZagMReuMuDC6EM79Yohart btR7RlBiOJrJOvfALrT+wQj4fDTo X-Received: by 2002:a50:a5ec:: with SMTP id b41-v6mr8783092edc.147.1527599449560; Tue, 29 May 2018 06:10:49 -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 c15-v6sm17443220edr.78.2018.05.29.06.10.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 06:10:48 -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 11/19] Bluetooth: hci_bcm: MODULE_DEVICE_TABLE(serdev) Date: Tue, 29 May 2018 15:10:06 +0200 Message-Id: <20180529131014.18641-12-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180529131014.18641-1-ricardo.ribalda@gmail.com> References: <20180529131014.18641-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_bcm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index f4d7846c06b8..ff0fd3502a90 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -1327,8 +1327,10 @@ MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match); static const struct serdev_device_id bcm_serdev_id[] = { { "bcm43438-bt", }, + { "hci_uart_bcm", }, {} }; +MODULE_DEVICE_TABLE(serdev, bcm_serdev_id); static struct serdev_device_driver bcm_serdev_driver = { .probe = bcm_serdev_probe, -- 2.17.0