Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247804
b: refs/heads/master
c: 2930d49
h: refs/heads/master
v: v3
  • Loading branch information
Kim Phillips authored and Herbert Xu committed May 19, 2011
1 parent 65d82d2 commit 182b3a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9bed4aca296fdf9c1b85a8f093e92018dc9864f3
refs/heads/master: 2930d49768e5276da4fbed9d9cc1bd40ed25818e
9 changes: 4 additions & 5 deletions trunk/drivers/crypto/caam/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ static int caam_remove(struct platform_device *pdev)
}

/* Probe routine for CAAM top (controller) level */
static int caam_probe(struct platform_device *pdev,
const struct of_device_id *devmatch)
static int caam_probe(struct platform_device *pdev)
{
int d, ring, rspec;
struct device *dev;
Expand Down Expand Up @@ -242,7 +241,7 @@ static struct of_device_id caam_match[] = {
};
MODULE_DEVICE_TABLE(of, caam_match);

static struct of_platform_driver caam_driver = {
static struct platform_driver caam_driver = {
.driver = {
.name = "caam",
.owner = THIS_MODULE,
Expand All @@ -254,12 +253,12 @@ static struct of_platform_driver caam_driver = {

static int __init caam_base_init(void)
{
return of_register_platform_driver(&caam_driver);
return platform_driver_register(&caam_driver);
}

static void __exit caam_base_exit(void)
{
return of_unregister_platform_driver(&caam_driver);
return platform_driver_unregister(&caam_driver);
}

module_init(caam_base_init);
Expand Down

0 comments on commit 182b3a4

Please sign in to comment.