mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] crypto: ccp - Provide support to autoload CCP driver
@ 2015-06-30 17:57 Tom Lendacky
  2015-07-06  8:33 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Lendacky @ 2015-06-30 17:57 UTC (permalink / raw)
  To: linux-crypto; +Cc: David Miller, linux-kernel, Herbert Xu

Add the necessary module device tables to the platform support to allow
for autoloading of the CCP driver. This will allow for the CCP's hwrng
support to be available without having to manually load the driver. The
module device table entry for the pci support is already present.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
---
 drivers/crypto/ccp/ccp-platform.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/crypto/ccp/ccp-platform.c b/drivers/crypto/ccp/ccp-platform.c
index f2e6de3..bb241c3 100644
--- a/drivers/crypto/ccp/ccp-platform.c
+++ b/drivers/crypto/ccp/ccp-platform.c
@@ -216,6 +216,7 @@ static const struct acpi_device_id ccp_acpi_match[] = {
 	{ "AMDI0C00", 0 },
 	{ },
 };
+MODULE_DEVICE_TABLE(acpi, ccp_acpi_match);
 #endif
 
 #ifdef CONFIG_OF
@@ -223,6 +224,7 @@ static const struct of_device_id ccp_of_match[] = {
 	{ .compatible = "amd,ccp-seattle-v1a" },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, ccp_of_match);
 #endif
 
 static struct platform_driver ccp_platform_driver = {


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: ccp - Provide support to autoload CCP driver
  2015-06-30 17:57 [PATCH] crypto: ccp - Provide support to autoload CCP driver Tom Lendacky
@ 2015-07-06  8:33 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2015-07-06  8:33 UTC (permalink / raw)
  To: Tom Lendacky; +Cc: linux-crypto, David Miller, linux-kernel

On Tue, Jun 30, 2015 at 12:57:14PM -0500, Tom Lendacky wrote:
> Add the necessary module device tables to the platform support to allow
> for autoloading of the CCP driver. This will allow for the CCP's hwrng
> support to be available without having to manually load the driver. The
> module device table entry for the pci support is already present.
> 
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>

Applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-06  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 17:57 [PATCH] crypto: ccp - Provide support to autoload CCP driver Tom Lendacky
2015-07-06  8:33 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®