From patchwork Fri Aug 22 13:58:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 4764441 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CF362C0338 for ; Fri, 22 Aug 2014 13:58:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A6632018E for ; Fri, 22 Aug 2014 13:58:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0782120136 for ; Fri, 22 Aug 2014 13:58:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932218AbaHVN6i (ORCPT ); Fri, 22 Aug 2014 09:58:38 -0400 Received: from cube.luon.net ([37.72.100.20]:39290 "EHLO cube.luon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123AbaHVN6i (ORCPT ); Fri, 22 Aug 2014 09:58:38 -0400 Received: from localhost (localhost [127.0.0.1]) by cube.luon.net (Postfix) with ESMTP id E9A2BE2C6C; Fri, 22 Aug 2014 15:58:34 +0200 (CEST) Received: from cube.luon.net ([127.0.0.1]) by localhost (cube.luon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Xdza365614n; Fri, 22 Aug 2014 15:58:34 +0200 (CEST) Received: from dusk.luon.net (unknown [IPv6:2001:1af8:fe00:8421:f2de:f1ff:fe93:2ee]) by cube.luon.net (Postfix) with ESMTPSA id B5ACFE2C6A; Fri, 22 Aug 2014 15:58:34 +0200 (CEST) Received: by dusk.luon.net (Postfix, from userid 1000) id D46F320464; Fri, 22 Aug 2014 15:58:33 +0200 (CEST) From: Sjoerd Simons To: Kishon Vijay Abraham I , Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Sjoerd Simons Subject: [PATCH] phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry Date: Fri, 22 Aug 2014 15:58:12 +0200 Message-Id: <1408715892-27728-1-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a MODULE_DEVICE_TABLE call for OF match tables. This allows the module to be autoloaded based on devicetree information. Signed-off-by: Sjoerd Simons --- drivers/phy/phy-exynos5-usbdrd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c index b05302b..e9a0f54 100644 --- a/drivers/phy/phy-exynos5-usbdrd.c +++ b/drivers/phy/phy-exynos5-usbdrd.c @@ -542,6 +542,7 @@ static const struct of_device_id exynos5_usbdrd_phy_of_match[] = { }, { }, }; +MODULE_DEVICE_TABLE (of, exynos5_usbdrd_phy_of_match); static int exynos5_usbdrd_phy_probe(struct platform_device *pdev) {