Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296359
b: refs/heads/master
c: c4592ce
h: refs/heads/master
i:
  296357: 2f57182
  296355: d76223f
  296351: 1df901f
v: v3
  • Loading branch information
Russell King committed Feb 3, 2012
1 parent 71e1ef5 commit 2c0e831
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: e36e26a8b761d1a601e284e2b5d8aff84de3b756
refs/heads/master: c4592ce4e8f69d78711d53f0a42ec1b4dbf00cde
10 changes: 4 additions & 6 deletions trunk/drivers/mfd/mcp-sa11x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <mach/assabet.h>

#define DRIVER_NAME "sa11x0-mcp"

struct mcp_sa11x0 {
u32 mccr0;
Expand Down Expand Up @@ -227,18 +228,14 @@ static int mcp_sa11x0_resume(struct platform_device *dev)
return 0;
}

/*
* The driver for the SA11x0 MCP port.
*/
MODULE_ALIAS("platform:sa11x0-mcp");

static struct platform_driver mcp_sa11x0_driver = {
.probe = mcp_sa11x0_probe,
.remove = mcp_sa11x0_remove,
.suspend = mcp_sa11x0_suspend,
.resume = mcp_sa11x0_resume,
.driver = {
.name = "sa11x0-mcp",
.name = DRIVER_NAME,
.owner = THIS_MODULE,
},
};

Expand All @@ -247,6 +244,7 @@ static struct platform_driver mcp_sa11x0_driver = {
*/
module_platform_driver(mcp_sa11x0_driver);

MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");
MODULE_DESCRIPTION("SA11x0 multimedia communications port driver");
MODULE_LICENSE("GPL");

0 comments on commit 2c0e831

Please sign in to comment.