Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137206
b: refs/heads/master
c: e65fb00
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer committed Mar 13, 2009
1 parent db80c53 commit ddeb713
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 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: 30c730f8f90b08d77a73998d2ee34cf1f56e95cc
refs/heads/master: e65fb0099fe4fe82d59ffe84f1e88a489218d7f9
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-mx1/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static struct clk clko_clk = {
};

static struct clk dma_clk = {
.name = "dma_clk",
.name = "dma",
.parent = &hclk,
.round_rate = _clk_parent_round_rate,
.set_rate = _clk_parent_set_rate,
Expand Down Expand Up @@ -513,7 +513,7 @@ static struct clk gpt_clk = {
};

static struct clk uart_clk = {
.name = "uart_clk",
.name = "uart",
.parent = &perclk[0],
.round_rate = _clk_parent_round_rate,
.set_rate = _clk_parent_set_rate,
Expand Down
18 changes: 9 additions & 9 deletions trunk/arch/arm/mach-mx2/clock_imx27.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ static struct clk per_clk[] = {

struct clk uart1_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 0,
.parent = &per_clk[0],
.secondary = &uart1_clk[1],
Expand All @@ -702,7 +702,7 @@ struct clk uart1_clk[] = {

struct clk uart2_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 1,
.parent = &per_clk[0],
.secondary = &uart2_clk[1],
Expand All @@ -719,7 +719,7 @@ struct clk uart2_clk[] = {

struct clk uart3_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 2,
.parent = &per_clk[0],
.secondary = &uart3_clk[1],
Expand All @@ -736,7 +736,7 @@ struct clk uart3_clk[] = {

struct clk uart4_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 3,
.parent = &per_clk[0],
.secondary = &uart4_clk[1],
Expand All @@ -753,7 +753,7 @@ struct clk uart4_clk[] = {

struct clk uart5_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 4,
.parent = &per_clk[0],
.secondary = &uart5_clk[1],
Expand All @@ -770,7 +770,7 @@ struct clk uart5_clk[] = {

struct clk uart6_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 5,
.parent = &per_clk[0],
.secondary = &uart6_clk[1],
Expand Down Expand Up @@ -1110,7 +1110,7 @@ static struct clk ssi2_clk[] = {
};

static struct clk nfc_clk = {
.name = "nfc_clk",
.name = "nfc",
.parent = &cpu_clk,
.get_rate = _clk_nfc_recalc,
.enable = _clk_enable,
Expand All @@ -1128,7 +1128,7 @@ static struct clk vpu_clk = {
};

static struct clk dma_clk = {
.name = "dma_clk",
.name = "dma",
.parent = &ahb_clk,
.enable = _clk_dma_enable,
.disable = _clk_dma_disable,
Expand Down Expand Up @@ -1260,7 +1260,7 @@ static struct clk kpp_clk = {
};

static struct clk owire_clk = {
.name = "owire_clk",
.name = "owire",
.parent = &ipg_clk,
.enable = _clk_enable,
.enable_reg = CCM_PCCR0,
Expand Down
14 changes: 7 additions & 7 deletions trunk/arch/arm/mach-mx3/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ static struct clk epit_clk[] = {
};

static struct clk nfc_clk = {
.name = "nfc_clk",
.name = "nfc",
.parent = &ahb_clk,
.get_rate = _clk_nfc_get_rate,
};
Expand Down Expand Up @@ -667,39 +667,39 @@ static struct clk csi_clk = {

static struct clk uart_clk[] = {
{
.name = "uart_clk",
.name = "uart",
.id = 0,
.parent = &perclk_clk,
.enable = _clk_enable,
.enable_reg = MXC_CCM_CGR0,
.enable_shift = MXC_CCM_CGR0_UART1_OFFSET,
.disable = _clk_disable,},
{
.name = "uart_clk",
.name = "uart",
.id = 1,
.parent = &perclk_clk,
.enable = _clk_enable,
.enable_reg = MXC_CCM_CGR0,
.enable_shift = MXC_CCM_CGR0_UART2_OFFSET,
.disable = _clk_disable,},
{
.name = "uart_clk",
.name = "uart",
.id = 2,
.parent = &perclk_clk,
.enable = _clk_enable,
.enable_reg = MXC_CCM_CGR1,
.enable_shift = MXC_CCM_CGR1_UART3_OFFSET,
.disable = _clk_disable,},
{
.name = "uart_clk",
.name = "uart",
.id = 3,
.parent = &perclk_clk,
.enable = _clk_enable,
.enable_reg = MXC_CCM_CGR1,
.enable_shift = MXC_CCM_CGR1_UART4_OFFSET,
.disable = _clk_disable,},
{
.name = "uart_clk",
.name = "uart",
.id = 4,
.parent = &perclk_clk,
.enable = _clk_enable,
Expand Down Expand Up @@ -736,7 +736,7 @@ static struct clk i2c_clk[] = {
};

static struct clk owire_clk = {
.name = "owire_clk",
.name = "owire",
.parent = &perclk_clk,
.enable_reg = MXC_CCM_CGR1,
.enable_shift = MXC_CCM_CGR1_OWIRE_OFFSET,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-mxc/dma-mx1-mx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ static int __init imx_dma_init(void)
int ret = 0;
int i;

dma_clk = clk_get(NULL, "dma_clk");
dma_clk = clk_get(NULL, "dma");
clk_enable(dma_clk);

/* reset DMA module */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/mxc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
this->read_buf = mxc_nand_read_buf;
this->verify_buf = mxc_nand_verify_buf;

host->clk = clk_get(&pdev->dev, "nfc_clk");
host->clk = clk_get(&pdev->dev, "nfc");
if (IS_ERR(host->clk))
goto eclk;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ static int serial_imx_probe(struct platform_device *pdev)
sport->timer.function = imx_timeout;
sport->timer.data = (unsigned long)sport;

sport->clk = clk_get(&pdev->dev, "uart_clk");
sport->clk = clk_get(&pdev->dev, "uart");
if (IS_ERR(sport->clk)) {
ret = PTR_ERR(sport->clk);
goto unmap;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/w1/masters/mxc_w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int __init mxc_w1_probe(struct platform_device *pdev)
if (!mdev)
return -ENOMEM;

mdev->clk = clk_get(&pdev->dev, "owire_clk");
mdev->clk = clk_get(&pdev->dev, "owire");
if (!mdev->clk) {
err = -ENODEV;
goto failed_clk;
Expand Down

0 comments on commit ddeb713

Please sign in to comment.