Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1228213
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Luis de Bethencourt <luis@debethencourt.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] tty: serial: cpm_uart: Fix module autoload for OF platform driver |
| Date | Fri, 18 Sep 2015 20:10:01 +0200 |
| Message-ID | <qa8gF-1KD-3@gated-at.bofh.it> (permalink) |
| X-Original-To | linux-kernel@vger.kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=iDC2h6CtkYHJ+jScidelGMB6P/buB15zyZXQ3EfccXI=; b=Cv5NhemO+uC9RZKSq6qzNuqRZn7IEZwv2pKaEyBE+6bSlDk0zObpvWcyq4HIMZ1vvI l1m0qQA8VQzy5z3zf24yiVc8nEc8iNJ1QDfs95ZMWCIVdayqtvb+J8cgYVYk5ra9Mq9T TCccpv834B1FH42+09LJLHrsQMuZkj+2OI0PF1Jz6+Hma5/0o34Ytu3PXAHrcXdZsg8K AoWpkIf1sRWwQ62fdaXY1BApFNRoBApCHKePY/WI6eok7kyD8Il9jm3CxMK006rZu55g CXMnHPd+7GUZnmvJ8YWrzK/xIPOk9QHJeJFhKzJGkHRc4ui4M/40JptsGVSwF7K+BzB7 lkxQ== |
| X-Received | by 10.194.112.104 with SMTP id ip8mr8798642wjb.131.1442599395798; Fri, 18 Sep 2015 11:03:15 -0700 (PDT) |
| X-Google-Original-From | Luis de Bethencourt <luisbg@osg.samsung.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jslaby@suse.com>, Fabian Frederick <fabf@skynet.be>, Timur Tabi <timur@tabi.org>, Wolfram Sang <wsa@the-dreams.de>, Peter Korsgaard <peter@korsgaard.com>, linux-serial@vger.kernel.org |
| X-Original-Date | Fri, 18 Sep 2015 20:03:14 +0200 |
| X-Original-Message-ID | <20150918180314.GA30740@goodgumbo.baconseed.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1228213 |
Show key headers only | View raw
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 <luisbg@osg.samsung.com>
---
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
index 08431ad..d3e3d42 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
@@ -1450,6 +1450,7 @@ static const struct of_device_id cpm_uart_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, cpm_uart_match);
static struct platform_driver cpm_uart_driver = {
.driver = {
--
2.4.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 2/4] tty: serial: cpm_uart: Fix module autoload for OF platform driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-18 20:10 +0200 Re: [PATCH 2/4] tty: serial: cpm_uart: Fix module autoload for OF platform driver Timur Tabi <timur@tabi.org> - 2015-09-19 02:40 +0200
csiph-web