Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp294775lqj; Wed, 10 Apr 2024 10:34:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3LfeOx7Rpj07quN8Jwlx8l5yy5i6egVSln/I3KWjy/DQS2kcnv3PBRSbIY3wdaeTVpUjUYOSXaxzvB30S9pXvBbqZ4a9h7rQ+Gzmu9w== X-Google-Smtp-Source: AGHT+IH+ItOW6Xb8plioxuTcPlxF45GKT+AWOMBApbU/fT6N4fQSiz96oMYFBXrpvMhEPEWF5FMO X-Received: by 2002:a17:90a:588e:b0:2a2:8014:db56 with SMTP id j14-20020a17090a588e00b002a28014db56mr3107117pji.44.1712770453457; Wed, 10 Apr 2024 10:34:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712770453; cv=pass; d=google.com; s=arc-20160816; b=Jka1oT344gQxQJZwLwIroNdHILGe8k3zngXahhjjxYXbwU32Tncf4zrRbUil6rZfbQ 7//d01FZy5h1BHlGgtm4EEFpZ8U3DJZ04GBwHZvlK5Ti1ZNhBOhk4KXiMQclaBfbFd+v nhGi+tM5w+L21h1ehhIGFDnPst7Q8zbr1zM2rtCdReM2UWFOgMIWa624tRMfOJVCyH0F n3tHzSi2xkQMxocBREbbDqdhqNOt3Zde6k5l8J+RvoI87AX+cwhOWMY3x8xLPuMjlk0r 148wyACXgx9Lz3camesoJcDGwiCZsXfToVSmLl8huwllvsPunIrcXuxedZURrtpilKBv fJiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=wvjFYATMFkgcCSTg+3g7AZ73rrIe7BAidCTKbi+lCJ0=; fh=HvXiI7CIvJE/aGn/8e7VPg8prjqzICimj2I8MNicliU=; b=iW/8iPI2X89RYDQR/X3ORYPQ5ZOH/Xu8TQBpb85etGAc0ufxTK9KD/OSo4v84TkkT6 QqsMKiNBDlFiNxzczMGI/hzxvatCT1BlA8Cpa/1RybR4ebRdvizA13d5PHkDDnHk6nrh aSHAG7Q6/BOMra3Vm9Fqlnn/t4T9Chn+b4XRVg55gOLltUAxKtJBUYQNNFFz0+NeQWZL PD3rH7Bb/4k1BcdmcOV5TGcPpbpxfPmy6jFlPeLseT2cL6oBxR2bC21d802wfbiF0Lcn 59mWfRrsBaAxMIonELT/cIr3jTiyuZnTHP+41jrLD0cc1cnKvEfx0JWN/nVxpbXLsIoQ 5bdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="L/nKmqow"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k6-20020a17090a3e8600b002a23255c0f9si1863360pjc.63.2024.04.10.10.34.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 10:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="L/nKmqow"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 02E86B2CCED for ; Wed, 10 Apr 2024 17:03:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D74317BB0E; Wed, 10 Apr 2024 17:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L/nKmqow" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CAAB17BB13 for ; Wed, 10 Apr 2024 17:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768575; cv=none; b=aZxUeO5YI0DR1v3+ajrWr6CtaDi2NgMArxvKFBSu8ZsrpbbOXmuMK10Z9PK1wqioJFgT+He9sFdloY7hDHsO9IEla+yK+eAOoErpz2EAm5eVwdhvvDGAI4WYeEUSdg1vpKfQwjj16klhC2pGFuPuORx65kxMzlnLyycujRNIsjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768575; c=relaxed/simple; bh=rjF1Pdc/BJy0/UEE1biPbPNCWphTBBh7owEWC6+TaEc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=c80IkCDD7qkasGlkdfmieJPZ9/X9tdYErCAGegT0YiA3w4a3uTjp3i91U38z7lZPZRxkmh7FceERIgxxln5DWhp+j76W/5ONSBQkQv4i1F3HrzEKksgOI8TkBsXLboqzkxTm975jor7inbOThfDGcLwtzlgNn+BnwCrVgv3Y5Sw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L/nKmqow; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCD8BC433C7; Wed, 10 Apr 2024 17:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712768575; bh=rjF1Pdc/BJy0/UEE1biPbPNCWphTBBh7owEWC6+TaEc=; h=From:To:Subject:Date:From; b=L/nKmqowWG/NAgbnXvfppxvuU0tDAeNPJqDqoZkSV4A95+NYWGdfgUysKuzn3u6pW KafKKSOobxnWtmUYi+LgmCaPkdnt4wwrABwdY/bv/Mif4SMYhnJtOm9auPsNttKQ8h bme64wWKpFv1pdEmdHARBHAfVz1H2P/Dd3JSsqd1/1+BmVU9IeXdPu8twZpBfEkIH+ n/VUWkcAIlc2nYuaPmx37evT3ki/yEXx6TIXf8G/MFGh1SCumjPh0VuATaYb6jAjGT qEpwhHIlS94ZynIa7GEyYcpNBN5HqKskWCAQ5EjLLr7mNsBInIpfZ9Gptv3MsojEWH yfLIT0y068A2g== From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] memory: brcmstb_memc: fix module autoloading Date: Wed, 10 Apr 2024 19:02:41 +0200 Message-Id: <20240410170241.248626-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/brcmstb_memc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c index ea9213f7152e..4f17a93aa028 100644 --- a/drivers/memory/brcmstb_memc.c +++ b/drivers/memory/brcmstb_memc.c @@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match); static int brcmstb_memc_suspend(struct device *dev) { -- 2.34.1