Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280084
b: refs/heads/master
c: a6ec0c0
h: refs/heads/master
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Dec 21, 2011
1 parent 4f04639 commit 5213e0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 269a3eb1bf10a078ede74747a61603693a3f7853
refs/heads/master: a6ec0c03a039677e4b4b5a67a6e19e9e26303000
9 changes: 5 additions & 4 deletions trunk/arch/m68k/platform/coldfire/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sysdev.h>
#include <linux/device.h>

#include <asm/gpio.h>
#include <asm/pinmux.h>
Expand Down Expand Up @@ -115,13 +115,14 @@ void mcf_gpio_free(struct gpio_chip *chip, unsigned offset)
mcf_pinmux_release(mcf_chip->gpio_to_pinmux[offset], 0);
}

struct sysdev_class mcf_gpio_sysclass = {
.name = "gpio",
struct bus_type mcf_gpio_subsys = {
.name = "gpio",
.dev_name = "gpio",
};

static int __init mcf_gpio_sysinit(void)
{
return sysdev_class_register(&mcf_gpio_sysclass);
return subsys_system_register(&mcf_gpio_subsys, NULL);
}

core_initcall(mcf_gpio_sysinit);

0 comments on commit 5213e0c

Please sign in to comment.