mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <gregkh@linuxfoundation.org>
Cc: <kishon@ti.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 3/5] phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry
Date: Thu, 28 Aug 2014 15:55:04 +0530	[thread overview]
Message-ID: <1409221506-6262-4-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1409221506-6262-1-git-send-email-kishon@ti.com>

From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>

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 <sjoerd.simons@collabora.co.uk>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 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..392101c 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)
 {
-- 
1.7.9.5


  parent reply	other threads:[~2014-08-28 10:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 10:25 [GIT PULL 0/5] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
2014-08-28 10:25 ` [PATCH 1/5] usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps Kishon Vijay Abraham I
2014-08-28 10:25 ` [PATCH 2/5] usb: phy: twl4030-usb: Fix lost interrupts after ID pin goes down Kishon Vijay Abraham I
2014-08-28 10:25 ` Kishon Vijay Abraham I [this message]
2014-08-28 10:25 ` [PATCH 4/5] MAINTAINERS: add entry for the Samsung USB2 PHY driver Kishon Vijay Abraham I
2014-08-28 10:25 ` [PATCH 5/5] phy: miphy365x: Select GENERIC_PHY instead of depending on it Kishon Vijay Abraham I
2014-09-03  5:22 ` [GIT PULL 0/5] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
2014-09-03 18:26   ` Greg KH
2014-09-04 13:30     ` Kishon Vijay Abraham I

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1409221506-6262-4-git-send-email-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome