Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp390194pxj; Fri, 11 Jun 2021 01:35:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1LuVDM7qY3ZzIfZ+RKROQxX4KbdTA3GFocpWz33FlWuYEvcbVPvfGPScRG2LDjOWbphEC X-Received: by 2002:a17:906:4882:: with SMTP id v2mr2689663ejq.134.1623400521797; Fri, 11 Jun 2021 01:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623400521; cv=none; d=google.com; s=arc-20160816; b=tUF7ArWky3FGYQBT3pjZ9FDVLFJ4MYsesuykASLmza+ZGO+KLL6OrQmYBbxNW+MjR0 ZuCR89rBme8k/h1S+3IJ4/S//2rLRbOjQIGjs0p3szD9e0uaOJdVl79wM3CAvirgSwY4 5SGH4se33zCwv5mEZuWyMTbOtveUfxiDSrVLst+zq2qw2vIzSK38nswk6eAd2gx3Z8tY 0IY5bNga2OWBeeJmgtYceZMrs0Q2hO+aYG6/g9zbMAgH5uEYLVHSyLHIKzd2YLaa/P1s jxF8ici8ivn+rb8az3vJfyed89A17hfnX4kbzBXe5N13HzGOc+t9vrzn6F+tY+RMIXDa O+lw== 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=gBMYS7fSMpepJ3rPGZYlHS0eUZ5phCJ/hHdr74JX0M8=; b=am904CUudaMmLWEkxXo69PioFg5LhQh9fQI4y3paYp1JLb9Wk7ZTqH0VODJi0nOXDE OaO2LEFJSMufPq4GKJanrLima+WXc0M3sNgpPCc6K6qpLUqjJMayN0aFMDfdE5bcLmA1 SWJ1l1TwzhFP8H6m2KrEy2sw4tVvoOBviK01IxoYergd4g/IZYZwK+RPSD+Z0GKlJkGG jBuWiI89zGTXliA3jx/t/Z9leZCwc70AumVwC03VI+A/FH+rMhDTFQikIebc0dFHjWcg o/B5w9eAEjg2IYo/w8rd8YafaAzuq2hKfOF5AqI1Nt0D1KrAKoM5MQ+yqHVNNFwTF01d 630w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ddrJGR5o; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si4377406edv.591.2021.06.11.01.34.59; Fri, 11 Jun 2021 01:35:21 -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=@linaro.org header.s=google header.b=ddrJGR5o; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231268AbhFKIf4 (ORCPT + 99 others); Fri, 11 Jun 2021 04:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbhFKIfz (ORCPT ); Fri, 11 Jun 2021 04:35:55 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 480B2C061574 for ; Fri, 11 Jun 2021 01:33:57 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id c9so5104801wrt.5 for ; Fri, 11 Jun 2021 01:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gBMYS7fSMpepJ3rPGZYlHS0eUZ5phCJ/hHdr74JX0M8=; b=ddrJGR5oSVpJnpuxIUJ1hB9+uErCwivG4mXDn1qDEBBUAe7cvdnGimz7wp4I3KhnQa gJcOCjB5HDj6tU0G3HOzYS34heuywRPyKQzjNXaji65q94f+5oJas/H4oK2Xch7mrX+G 73N+OtmaX52QjgsmyDMSmiw/4tsZdqEYQ90SPpiBpxqp8jw46vSrgm7FHHlSNu8ulm/f JA45HE9HG3aRrrd3Ve1/62R6zE15LSiPESbEHLmGG+EQm7Il5TDNdc7RybgBmms1ZXt8 utqZ5B9DGAhDL826zN9XM/hvPJv5r8R1AHk/JAh0OcErgBnUFvlphf8St85LRmA6ReSH PAdw== 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:mime-version:content-transfer-encoding; bh=gBMYS7fSMpepJ3rPGZYlHS0eUZ5phCJ/hHdr74JX0M8=; b=hjhRNsCbkLV/ZhQK6Sr+bwH9VSX/uldzWc6uo1Iprx7/Zk36y+Bo9yqOPf3bsxp9E2 aDf5YgqXte2KW1gQjKeR/0IeL+m5k0xDTsQ2oqB9Ma7hp4YUsf61q0z8jmYKCwWXrQxr BVaHrUY2AWzK3W4uRm+3fe9cfpFasRNEgaPh67R8OPJlFGKeUXmBrtI/eGXczeam8Tgp ek1RQoqES1CACht+rZve2u81uozBsCqAg1Gx+FtarEWFfPu2baQXe1uV0kiollcJ4skN C2ped1jBBJrTYITyY0xmv50FOQka+5NaoiQRZbh8zc68BNf51x1qLgqgpy+KqHRnl+aT MGSA== X-Gm-Message-State: AOAM533EVmm116PUMY+9v+EcUJAK4y9vCHvAisoHkpaefNhYgjYJT3bz XucBC6V105e6DjL8KLrohNTwUA== X-Received: by 2002:a5d:58f6:: with SMTP id f22mr2660924wrd.128.1623400435941; Fri, 11 Jun 2021 01:33:55 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id n42sm11547428wms.29.2021.06.11.01.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 01:33:55 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Zou Wei , Hulk Robot , Srinivas Kandagatla Subject: [PATCH 3/9] nvmem: sc27xx: Add missing MODULE_DEVICE_TABLE Date: Fri, 11 Jun 2021 09:33:42 +0100 Message-Id: <20210611083348.20170-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210611083348.20170-1-srinivas.kandagatla@linaro.org> References: <20210611083348.20170-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei 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. Fixes: 19c54468f222 ("nvmem: Add Spreadtrum SC27XX efuse support") Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/sc27xx-efuse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/sc27xx-efuse.c b/drivers/nvmem/sc27xx-efuse.c index c825fc902d10..7f9bd2195b97 100644 --- a/drivers/nvmem/sc27xx-efuse.c +++ b/drivers/nvmem/sc27xx-efuse.c @@ -262,6 +262,7 @@ static const struct of_device_id sc27xx_efuse_of_match[] = { { .compatible = "sprd,sc2730-efuse", .data = &sc2730_edata}, { } }; +MODULE_DEVICE_TABLE(of, sc27xx_efuse_of_match); static struct platform_driver sc27xx_efuse_driver = { .probe = sc27xx_efuse_probe, -- 2.21.0