Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101845
b: refs/heads/master
c: e3621ee
h: refs/heads/master
i:
  101843: 7e6367b
v: v3
  • Loading branch information
Kumar Gala authored and Linus Torvalds committed Jul 16, 2008
1 parent d997b9f commit f95a3cb
Show file tree
Hide file tree
Showing 2 changed files with 5 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: bef5b54bd7bf8117c75cb943d64549134c6d9a1f
refs/heads/master: e3621ee633810be1079d0fa65ac2c904f53b73fa
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/82xx/ep8248e.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ static void __init ep8248e_pic_init(void)
of_node_put(np);
}

#ifdef CONFIG_FS_ENET_MDIO_FCC
static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level)
{
if (level)
Expand Down Expand Up @@ -164,6 +165,7 @@ static struct of_platform_driver ep8248e_mdio_driver = {
.probe = ep8248e_mdio_probe,
.remove = ep8248e_mdio_remove,
};
#endif

struct cpm_pin {
int port, pin, flags;
Expand Down Expand Up @@ -296,7 +298,9 @@ static __initdata struct of_device_id of_bus_ids[] = {
static int __init declare_of_platform_devices(void)
{
of_platform_bus_probe(NULL, of_bus_ids, NULL);
#ifdef CONFIG_FS_ENET_MDIO_FCC
of_register_platform_driver(&ep8248e_mdio_driver);
#endif

return 0;
}
Expand Down

0 comments on commit f95a3cb

Please sign in to comment.