Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1149411pxv; Fri, 9 Jul 2021 19:35:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSc3KgUlb8Rq4Wrnehb+rgqm6dHX+RL9/c4I3JFCwc0IR22fDnxEPHemso03ic6Ewyrd6V X-Received: by 2002:a17:907:d8c:: with SMTP id go12mr28728468ejc.442.1625884535612; Fri, 09 Jul 2021 19:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884535; cv=none; d=google.com; s=arc-20160816; b=HLNV9Z7nPFd+Rb5tg2iJI/OfqCzufdkwZQnlBuEyIXLJ/qrlawPcELLmfFXPeEvZZe Jb+NKlPERDZdh4upIzczIXYOnLodDc5Mbpta4aENIBdcdTxavMWeQPg/7mJ8i18JbMZH WjV3r2Tz15/Sfn8KE573hZWxvD4ycSjOe2U/r65l4f8jKi+CJdZ1emTFZ6fPX91u+Y66 U+uSR+imBk9FzghIGsTnWDQnhPtDxW0Ef/NoaU7LSN2cQuBZ2ejiF2GXec6S3cqVbJk3 NSkC8jSNspahN/zt1qZpzVBO+P8pdWmJyxExn7aEWSsm/Sog9fPC2qIr50/wpIHRVzVW UVPg== 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=eJ4yeUu25o7fANUwEpJyx1ON3On4lVhIteiJTLR4Uj0=; b=GiWtROdsoDEnHFPYwba1h0HdaMn2x9hyMAhvQJybInXhFhJ83tNpfWogjjPILOepnR M226fFZwhR+P09vjZAy4NuLnCSyHW2SUHuo5m6+8VjKBDaWYyCtUceErQDTLMkXG83cE PybwwOHp1k18CgJlTrgjeTIYnY1/dwatpZbUkJWSJlL2xa2ujo182gmKV8HRKaotQVIL xkGa4NFWW5zVoHFJ3oWtLd7cC1dEqEPYI+xTWLKiUIhDVElkkSb+WdfQtM/Eo/AmMA5K CRh79rXUwY0/1RV0NoLbPoUXbIksm7CE3IdmsrNWHKMILGBo4NAEPN1nexBWuy4iQKch +J8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e4c+qDCR; 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 s10si9162895edr.36.2021.07.09.19.35.13; Fri, 09 Jul 2021 19:35: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=e4c+qDCR; 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 S235238AbhGJCek (ORCPT + 99 others); Fri, 9 Jul 2021 22:34:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:43326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234676AbhGJC3k (ORCPT ); Fri, 9 Jul 2021 22:29:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D3C05613DC; Sat, 10 Jul 2021 02:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625884016; bh=JgL551oFfxdmH9y/atJVWQ9IvGlZp0b9DjZZSGo8qz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e4c+qDCRau+izxok/F4tByOieO1ygOvosv/W+gHFboDqqzzsyNRMwJXIh/cnHcupc ckm7Q0jprlogd1BX+8eOkIIaV+ew6ElboWKofAkCEoYxxPh+fgK/AikXNSF+t/UVhm VbYz/mU90IRrgGG7eyGM7eJm5YXnxV0XCNElbi3wWgawg9jsyY9xiJjImXkGQXePuo vCFxepZE+r+x/3oO37Ep9iQaRoHE70NY+VqqD8XZZiF7v1D9MepC27SlNOgczum7ek Yt1Lxlr/LNcsPH21jKYaCPOEs9TPM3fN4vtKvZxMO8Am28gduo6/Gw3fvergL7o1yM vb0YviROqD4kA== 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.10 87/93] leds: turris-omnia: add missing MODULE_DEVICE_TABLE Date: Fri, 9 Jul 2021 22:24:21 -0400 Message-Id: <20210710022428.3169839-87-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-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 880fc8def530..ec87a958f151 100644 --- a/drivers/leds/leds-turris-omnia.c +++ b/drivers/leds/leds-turris-omnia.c @@ -277,6 +277,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