Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272868
b: refs/heads/master
c: 1ebc849
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Oct 13, 2011
1 parent f30038c commit d88d7d3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f62f548c1c04742f68c15e21f173712dd6633791
refs/heads/master: 1ebc8496e8cc193706d7a7b375d0017a96e01277
26 changes: 26 additions & 0 deletions trunk/arch/arm/mach-tegra/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/platform_device.h>

#include <mach/iomap.h>
#include <mach/pinmux.h>
Expand Down Expand Up @@ -665,6 +666,31 @@ void tegra_pinmux_config_pullupdown_table(const struct tegra_pingroup_config *co
}
}

static int __devinit tegra_pinmux_probe(struct platform_device *pdev)
{
return 0;
}

static struct of_device_id tegra_pinmux_of_match[] __devinitdata = {
{ .compatible = "nvidia,tegra20-pinmux", },
{ },
};

static struct platform_driver tegra_pinmux_driver = {
.driver = {
.name = "tegra-pinmux",
.owner = THIS_MODULE,
.of_match_table = tegra_pinmux_of_match,
},
.probe = tegra_pinmux_probe,
};

static int __init tegra_pinmux_init(void)
{
return platform_driver_register(&tegra_pinmux_driver);
}
postcore_initcall(tegra_pinmux_init);

#ifdef CONFIG_DEBUG_FS

#include <linux/debugfs.h>
Expand Down

0 comments on commit d88d7d3

Please sign in to comment.