From patchwork Tue Sep 29 06:35:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 54220 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 0397522B1E for ; Tue, 29 Sep 2015 06:36:15 +0000 (UTC) Received: by labnm6 with SMTP id nm6sf9717553lab.1 for ; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=z1lVEAqixIIRFPivP4QaTZZFKlAm+loVjrJbnhFuF9k=; b=kiAEoWZi8fH3+POXtZy31DrRU8a0CWmv6AkH9q7MzJ/D2pSI7Q9W9wYmsodXFLaG27 YF7xanCXIyZNEZynjFCt5PoY+73wd4bOuPf4h3mV6iKlOjWRX1GJh/EUvhQqqzUx6z4u CZ0roTSQXk9mIDyR2VhxtyYlrvAeiZ2hHlicGJXK9/V8c3qZN6jibPQv/MlXPGcymPCM XuOWFa8tX4KhDRWPBO6lvuZNVZcK8IPWiNoh8Xhmjk3aLhHPlVcpkK4S1P7mTW4PSH0b HvInNRAXi5/sRdVhPUvxsq0MOLBtsOTitLL0UWC+6WLZnYeDx9gBQ6ZSW3yHkvqHpkRO fQgQ== X-Gm-Message-State: ALoCoQlXYWlfBjMSQcoUUH80CyRyDm1GtWk1ZQHg+t689QYDQqDbS7yE6mBQqHVnFINlFDOV9cs2 X-Received: by 10.112.55.69 with SMTP id q5mr3817169lbp.24.1443508573941; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.230 with SMTP id n6ls76779lan.65.gmail; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) X-Received: by 10.112.171.69 with SMTP id as5mr6656089lbc.111.1443508573768; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id i141si10158233lfe.122.2015.09.28.23.36.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2015 23:36:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by laclj5 with SMTP id lj5so91067870lac.3 for ; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) X-Received: by 10.152.37.162 with SMTP id z2mr6650041laj.117.1443508573604; Mon, 28 Sep 2015 23:36:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1949216lbq; Mon, 28 Sep 2015 23:36:12 -0700 (PDT) X-Received: by 10.66.218.66 with SMTP id pe2mr24411447pac.13.1443508572154; Mon, 28 Sep 2015 23:36:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si34894927pbt.171.2015.09.28.23.36.11; Mon, 28 Sep 2015 23:36:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755534AbbI2GgK (ORCPT + 30 others); Tue, 29 Sep 2015 02:36:10 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:35066 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755352AbbI2Gfc (ORCPT ); Tue, 29 Sep 2015 02:35:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8T6ZVJX004470; Tue, 29 Sep 2015 01:35:31 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8T6ZVE8026945; Tue, 29 Sep 2015 01:35:31 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Tue, 29 Sep 2015 01:35:31 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8T6ZOn3031435; Tue, 29 Sep 2015 01:35:30 -0500 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 3/3] phy: berlin-sata: Fix module autoload for OF platform driver Date: Tue, 29 Sep 2015 12:05:24 +0530 Message-ID: <1443508524-7546-4-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1443508524-7546-1-git-send-email-kishon@ti.com> References: <1443508524-7546-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Luis de Bethencourt This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-berlin-sata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-berlin-sata.c b/drivers/phy/phy-berlin-sata.c index 0062027..77a2e05 100644 --- a/drivers/phy/phy-berlin-sata.c +++ b/drivers/phy/phy-berlin-sata.c @@ -276,6 +276,7 @@ static const struct of_device_id phy_berlin_sata_of_match[] = { { .compatible = "marvell,berlin2q-sata-phy" }, { }, }; +MODULE_DEVICE_TABLE(of, phy_berlin_sata_of_match); static struct platform_driver phy_berlin_sata_driver = { .probe = phy_berlin_sata_probe,