Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321228
b: refs/heads/master
c: 1190ef9
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Jun 28, 2012
1 parent 3c71c9a commit 95f1f4d
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 48aff643d969f4767f218e17347c1d1d13c6aaa4
refs/heads/master: 1190ef9229d4177167de14561295f94c858bda7a
10 changes: 10 additions & 0 deletions trunk/arch/sh/boards/mach-rsk/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,17 @@
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/map.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
#include <asm/machvec.h>
#include <asm/io.h>

/* Dummy supplies, where voltage doesn't matter */
static struct regulator_consumer_supply dummy_supplies[] = {
REGULATOR_SUPPLY("vddvario", "smsc911x"),
REGULATOR_SUPPLY("vdd33a", "smsc911x"),
};

static const char *part_probes[] = { "cmdlinepart", NULL };

static struct mtd_partition rsk_partitions[] = {
Expand Down Expand Up @@ -67,6 +75,8 @@ static struct platform_device *rsk_devices[] __initdata = {

static int __init rsk_devices_setup(void)
{
regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));

return platform_add_devices(rsk_devices,
ARRAY_SIZE(rsk_devices));
}
Expand Down

0 comments on commit 95f1f4d

Please sign in to comment.