Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1146994pxv; Fri, 9 Jul 2021 19:30:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+fdx+cCyhX/OPa/jiFJIObmvm/z+9trBPgmFBam5NSvGKnGsQnFOkRBJDGVRamfuSPqn7 X-Received: by 2002:a17:907:1c14:: with SMTP id nc20mr32691780ejc.140.1625884235113; Fri, 09 Jul 2021 19:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884235; cv=none; d=google.com; s=arc-20160816; b=Sqe5lJBhqBiyC1c8OvSCPDrksdibDyzY7KMPp2ivftkH3IEUTkdSpWJ6f+0smB1fzL ZQjobCHot0aXwoakhLdxN7LuRcgIkItKq2tsf/IPgh224VTg0gnBvQEu4LMaD1FEOQDW xwFnSOXvBTYWW7BPfPe0wgW7oR2/R+zj+8c3MGzqKCYGs59v6vYVRI/C1iUTjiiWxoep eeRP8CJesBx+vCSBebM1/BlorI852MRnyf+EuyzJlZTyNiP8HrW60KUkodg4PcaMWprE Jeo+6rjtyQZD0l/3Le1DUEzRVDxKZy5a4aaY/9tkwN4YcU2gnFHctwgHnm/0zenh40Pc TkEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2rIlSISfXmLeb0iNSpjY6IG4P5j5p6mB5Motjn8XaOQ=; b=zQHOHABltKaez5ixvJuOLjZ+jIp1Zjx+f+bBV/TAlQ9mqJhquXalD7P2ffvjU+5uar BGJ7psGM5wBxEvZWMgaNt6li+g2Ij7jUT4dXhhzfD+d+kNUUPwCi6v4zA/mcMAopl4OJ EI/h2bP8AsTenLrLuoHvPS8MDJKzwhGUHW2qhm1c1HckpumhbBx5S0x196EOzVpRuLfn KngzusTxayhZTAgkCZfhGWiL4I61AxjS4KY9N9UuLhr2+y0oddYPVnrxrlgNK7Qzm8D7 6ayu3Q4tb6YMndjaYVZ0WU72W20ovU2IxRScpKGoVIYB2kut/SV4OSadqyQRvakMeSH1 nlTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oog9YDaI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc18si9108714ejc.167.2021.07.09.19.30.12; Fri, 09 Jul 2021 19:30:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oog9YDaI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234185AbhGJC3P (ORCPT + 99 others); Fri, 9 Jul 2021 22:29:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:42628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbhGJC1I (ORCPT ); Fri, 9 Jul 2021 22:27:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2681861418; Sat, 10 Jul 2021 02:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883855; bh=jMFI/X6JpYIAKQaFGTECmFNli5C5t3TD6BOf/RpICe0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Oog9YDaIGHA2H4+E/1/Un6h9JyVg3dW+EhXrJ/eDHRLAXIiZtKmPcw4LPjZec9fvY iTLpE247nywyCeZOb1++nPiq76vogSIztlwJJRJLwI4mNuf8NynYXHnsUXpXJ8UPMG lZHpRzzUodOe05emyZu4QNcWyYsAcyI/18SQVXcAsXtFmyk6j+UxdaLC9q2fzghCKR 99HHFblXnX3zLCE9tr9TDuq15PSyHrysu9gNR6ZbkOG9/0cXf71gBl311DTcU3HfRn cC4hGNBmEDrGXwhA1oVe5hLUkvC94uJhDz6RWDKAUratq41hEjmLLS8HDWr8xNuhgw InbUoFLFWINzA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zou Wei , Hulk Robot , Pavel Machek , Sasha Levin , linux-leds@vger.kernel.org Subject: [PATCH AUTOSEL 5.12 098/104] leds: turris-omnia: add missing MODULE_DEVICE_TABLE Date: Fri, 9 Jul 2021 22:21:50 -0400 Message-Id: <20210710022156.3168825-98-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022156.3168825-1-sashal@kernel.org> References: <20210710022156.3168825-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei [ Upstream commit 9d0150db97583cfbb6b44cbe02241a1a48f90210 ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Pavel Machek Signed-off-by: Sasha Levin --- drivers/leds/leds-turris-omnia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-turris-omnia.c b/drivers/leds/leds-turris-omnia.c index 2f9a289ab245..1adfed1c0619 100644 --- a/drivers/leds/leds-turris-omnia.c +++ b/drivers/leds/leds-turris-omnia.c @@ -274,6 +274,7 @@ static const struct i2c_device_id omnia_id[] = { { "omnia", 0 }, { } }; +MODULE_DEVICE_TABLE(i2c, omnia_id); static struct i2c_driver omnia_leds_driver = { .probe = omnia_leds_probe, -- 2.30.2