Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183519
b: refs/heads/master
c: c5bab5e
h: refs/heads/master
i:
  183517: 9531275
  183515: 9a311a4
  183511: 3bb3e06
  183503: 489f964
  183487: dc96e80
v: v3
  • Loading branch information
Wolfgang Grandegger authored and David S. Miller committed Jan 15, 2010
1 parent 2164c9f commit ee54389
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3a4d5c94e959359ece6d6b55045c3f046677f55c
refs/heads/master: c5bab5e94d148aee2c852450374143c89aa56511
8 changes: 4 additions & 4 deletions trunk/drivers/net/can/mscan/mpc5xxx_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct mpc5xxx_can_data {
int *mscan_clksrc);
};

#ifdef CONFIG_PPC_MPC5200
#ifdef CONFIG_PPC_MPC52xx
static struct of_device_id __devinitdata mpc52xx_cdm_ids[] = {
{ .compatible = "fsl,mpc5200-cdm", },
{}
Expand Down Expand Up @@ -84,7 +84,7 @@ static u32 __devinit mpc52xx_can_get_clock(struct of_device *ofdev,
/* Determine SYS_XTAL_IN frequency from the clock domain settings */
np_cdm = of_find_matching_node(NULL, mpc52xx_cdm_ids);
if (!np_cdm) {
dev_err(&of->dev, "can't get clock node!\n");
dev_err(&ofdev->dev, "can't get clock node!\n");
return 0;
}
cdm = of_iomap(np_cdm, 0);
Expand All @@ -101,14 +101,14 @@ static u32 __devinit mpc52xx_can_get_clock(struct of_device *ofdev,

return freq;
}
#else /* !CONFIG_PPC_MPC5200 */
#else /* !CONFIG_PPC_MPC52xx */
static u32 __devinit mpc52xx_can_get_clock(struct of_device *ofdev,
const char *clock_name,
int *mscan_clksrc)
{
return 0;
}
#endif /* CONFIG_PPC_MPC5200 */
#endif /* CONFIG_PPC_MPC52xx */

#ifdef CONFIG_PPC_MPC512x
struct mpc512x_clockctl {
Expand Down

0 comments on commit ee54389

Please sign in to comment.