From: Rusty Russell <rusty@rustcorp.com.au>
To: "Michael Neuling" <michael.neuling@au1.ibm.com>,
linuxppc-dev@lists.ozlabs.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Subject: [PATCH 2/2] cxl: allow example memcpy driver to be compiled as a module.
Date: Tue, 10 Feb 2015 17:23:34 +1030 [thread overview]
Message-ID: <1423551214-10209-2-git-send-email-rusty@rustcorp.com.au> (raw)
In-Reply-To: <1423551214-10209-1-git-send-email-rusty@rustcorp.com.au>
Requires fixing one typo.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
drivers/misc/Kconfig | 2 +-
drivers/misc/cxl-memcpy.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 5262514..f778497 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -516,7 +516,7 @@ config VEXPRESS_SYSCFG
of generating transactions on this bus.
config CXL_MEMCPY
- bool "Example CXL memcpy AFU driver"
+ tristate "Example CXL memcpy AFU driver"
depends on CXL
default y
help
diff --git a/drivers/misc/cxl-memcpy.c b/drivers/misc/cxl-memcpy.c
index 6b7545d..fecc1fd 100644
--- a/drivers/misc/cxl-memcpy.c
+++ b/drivers/misc/cxl-memcpy.c
@@ -27,7 +27,7 @@ static DEFINE_PCI_DEVICE_TABLE(cxl_memcpy_pci_tbl) = {
{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x4350), },
{ }
};
-MODULE_DEVICE_TABLE(pci, cxl_pci_tbl);
+MODULE_DEVICE_TABLE(pci, cxl_memcpy_pci_tbl);
uint cpu_memcopy;
module_param_named(cpu_memcopy, cpu_memcopy, uint, 0600);
--
2.1.0
prev parent reply other threads:[~2015-02-10 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 6:53 [PATCH 1/2] cxl: export symbols required for modules to use the API Rusty Russell
2015-02-10 6:53 ` Rusty Russell [this message]
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=1423551214-10209-2-git-send-email-rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=michael.neuling@au1.ibm.com \
/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;
as well as URLs for NNTP newsgroup(s).