Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp36779lqe; Tue, 9 Apr 2024 13:40:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmuJa8n2gKVtR/gtmVniUPrkWbD6s0XHfZRLz6chYJmm2puPa/zYbLH01cjcmZjTHgP5/G7PoJhdy6Bte4CA7+TQZaXmGhM1dBbCfVeg== X-Google-Smtp-Source: AGHT+IHbP/BBkp8mxfB0U5hpZ3YX6B8neYLyT6Db2p4VdbF4ug4f6dxV8/zD2BN/8efZ0f8soRU6 X-Received: by 2002:ac8:59c7:0:b0:432:d73c:dff with SMTP id f7-20020ac859c7000000b00432d73c0dffmr670955qtf.51.1712695211458; Tue, 09 Apr 2024 13:40:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712695211; cv=pass; d=google.com; s=arc-20160816; b=HOFraMDEd3EwV0ezeAiC65sf3/ygONFybTI6nUTDHilupWLd/itISyw2Fmh/G6t5QI ru5l0i5c1jYFrIAApds61YcFyLuzJovJjzjmOL+F6uIZrpUXoUnxDuo2TBJgJua/ImfX qOnriMNzx9eRo/E6AbzejE4uEN0YT0IZPfmXU7T28XbF3nqBySOaqjFlfnNlX6CXeq6j GFzTkUJd2si5ZWOPHdgIiG0YQBhVLNT1I0dpdEvys5FOZByqrQNCPB2G6JxvX5p3tyBQ 9l+HZ/W8w6t1V18s7/vPaD7/nGlrfOpXf/tWQzpZPtLmrrbJGu6AkvsHTOBItqWNfCzj EsWg== 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:cc:to :from:dkim-signature; bh=v4I8phARquuRtcJ9dGFSKVepYNDlwt0kz9QDOiZ7JmM=; fh=WfpV3L6f7SGsMWTqAPOOnoJYuPVC8zGvNKwqNBTROFs=; b=z7NQwk2SRmfLsU6NrTc0+64IxLo7/9GY2TNB3DshEt9l9E1ow7V/D2U2ObFTo4g6Yf dEzXysutStcSLY/WnrL5XfBnhRHYzhaOE6ka57Inz6HHbWjshqVINNsRenxifBSYOidN OmZip7OshnfAbCheAMzk2oAZLKpgn2hBlplyJ4SXQN7eUlZtw2I4QZkrP/VFRHrReuSA m/fO4Gr3FROmgYxnq5HTPdoJS+hlosTqEvZ0mMtsnJWb4/yzy4xmdOeeRHQh5D/FwPBK Bs8uHBvaKAMtphBwje3vcAPQWYYpY6rvK18Y56cg1dOnCgiGqO5J8aHzwW+Xml0UJ6Wj LYCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UHzE1cSQ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-137607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t14-20020a05622a148e00b00432e730f721si11040341qtx.30.2024.04.09.13.40.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 13:40:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UHzE1cSQ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-137607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 306F91C21321 for ; Tue, 9 Apr 2024 20:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B16CA15885F; Tue, 9 Apr 2024 20:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UHzE1cSQ" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAF69158846 for ; Tue, 9 Apr 2024 20:40:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712695202; cv=none; b=WjVMjAX5DkBsPc+0E1y2z6dfSCQAnL+iW6mSEs0Ik4xASTNbsKBFvfCNxrXQq0iPIl0RLuhq4J6NtFRhAA9pAYLLFGbr9CdrbqcHeiMe36xz/hJLbqT8ltqIAE7/HLL8kp3/i7AmScL5/i2IMw0JgUDEcib5vMkF2CBQR8at9YA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712695202; c=relaxed/simple; bh=yk2BDxM+7Y4i2zDVZmBIPZBAOJ1qHub6vL1uG2mZ+jk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=A8CgM1x3F+G5YeCGF2jjxM/BFVBVaOBpgzJ9WttvaNUnJ3C0Lsinn8WQVlbXsVlgTphvUzuk6XQo0S1so6LcNPLlY1KnT3UG8Pb5Ck3uCAeWAYBqzDKjcwcUQLBkAAnEVHXWak6PtqSCMOlGMWSJUiP7H5VeXVaZsIJbjZGqLNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=UHzE1cSQ; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-41691fb4c8fso14312975e9.1 for ; Tue, 09 Apr 2024 13:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712695199; x=1713299999; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v4I8phARquuRtcJ9dGFSKVepYNDlwt0kz9QDOiZ7JmM=; b=UHzE1cSQKqEBp/pxy40KjElSwJJVlkuiCz15tbrinBYCAGS5lKxZriYqNqh1Ibnguy 0GYZiPWSCmxu0niNsW0AthVlkCMDqhAFI5YM4+U1YGGMLuJl9ejSVYGGhsFBM/pjraaH vZ2rEbQx/5dhfqc7RQ4EFZea6HrNlkQM0W64v7anZvEn7dU0k7rExodTrQ9+dxkSU3tw 8TkR6Yqpv1LLljzdNZOh2VomNb/vcR1JaUD/cUeSQpYMFDiqRSIBdMSlNhtmNokwrRBd i7dOCHJNwY0XoPnHuhowoNmtjnjk8EmOXcdaIoP8SfGA3ACehkw/GVtkO6itXZpP0Jyp tydQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712695199; x=1713299999; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v4I8phARquuRtcJ9dGFSKVepYNDlwt0kz9QDOiZ7JmM=; b=XxzRwarV0731/9sN/UeJN/Ul2C++MZb/VFmONpFJXWeoSjZnKsIi3ivdLt+VYZe2vx 2nWMJm2gTX8wm4+4Et+kpoLugs04ovLH55XMI0sj9oy9tlCK9UDVy8m/2ZjBaV6eDDUb udS82nq7cGFTrGiZSXAhygaYlKCS60LJyX/SuCul0fnTrGN0VNjKZA+QisnnD3crQ9YV gbrEqqvRJw7a2dDqsk2NOrmlqf6ougz9X3GvMZoQolgh+6RDM+UvdPx3p6G3wj+c8Vlq I5LgP/4BI86girJsOnPna9gzpHZ9tLOELsLOgNjGf5XHXjPVZkbEA3IKCJp9as4aJxJD x9rA== X-Forwarded-Encrypted: i=1; AJvYcCXw/1LCK4Xkvk2Q4LPrA5Orfhxr0Q3UKnNswlp5DnuCwEy/lSrK1+A4UijX2owOub7x/q4LkuC9d/IboXq2wxq4d5Dhqi4vySxApDLf X-Gm-Message-State: AOJu0YwoAE7sffbgPql9ggXxvCws/QzLCpsh7FfARlJ8ozJeHUirJc4L /GnlyCP8B64aDfWZZ9vPT4lntxAjz1vsYIPFl9/18P5HZzVczfnloUVDpSvbJQM= X-Received: by 2002:a05:600c:310c:b0:414:102f:27b8 with SMTP id g12-20020a05600c310c00b00414102f27b8mr515611wmo.32.1712695199233; Tue, 09 Apr 2024 13:39:59 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id m5-20020a5d56c5000000b00341ce80ea66sm12267111wrw.82.2024.04.09.13.39.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 13:39:58 -0700 (PDT) From: Krzysztof Kozlowski To: Peter Wang , Stanley Jhu , "James E.J. Bottomley" , "Martin K. Petersen" , Matthias Brugger , AngeloGioacchino Del Regno , linux-scsi@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Will McVicker Subject: [PATCH] scsi: ufs: mediatek: fix module autoloading Date: Tue, 9 Apr 2024 22:39:54 +0200 Message-Id: <20240409203954.80484-1-krzysztof.kozlowski@linaro.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. Cc: Will McVicker Signed-off-by: Krzysztof Kozlowski --- drivers/ufs/host/ufs-mediatek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ufs/host/ufs-mediatek.c b/drivers/ufs/host/ufs-mediatek.c index 0b0c923b1d7b..c4f997196c57 100644 --- a/drivers/ufs/host/ufs-mediatek.c +++ b/drivers/ufs/host/ufs-mediatek.c @@ -52,6 +52,7 @@ static const struct of_device_id ufs_mtk_of_match[] = { { .compatible = "mediatek,mt8183-ufshci" }, {}, }; +MODULE_DEVICE_TABLE(of, ufs_mtk_of_match); /* * Details of UIC Errors -- 2.34.1