Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123615
b: refs/heads/master
c: eefc842
h: refs/heads/master
i:
  123613: 39d6227
  123611: afc1865
  123607: da015b3
  123599: 462c64c
  123583: ce04e3d
v: v3
  • Loading branch information
Russell King authored and Russell King committed Nov 30, 2008
1 parent 365534c commit f096afd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: ae696fd53280d85b43ec1dd74f80162bee088862
refs/heads/master: eefc842a6e1de128fbdc9214b9f178a2e238fb7b
7 changes: 2 additions & 5 deletions trunk/arch/arm/mach-netx/fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@
#include <linux/dma-mapping.h>
#include <linux/amba/bus.h>
#include <linux/amba/clcd.h>
#include <linux/err.h>

#include <mach/netx-regs.h>
#include <mach/hardware.h>

struct clk {};

static struct clk fb_clk;

static struct clcd_panel *netx_panel;

void netx_clcd_enable(struct clcd_fb *fb)
Expand Down Expand Up @@ -85,7 +82,7 @@ int clk_enable(struct clk *clk)

struct clk *clk_get(struct device *dev, const char *id)
{
return &fb_clk;
return dev && strcmp(dev_name(dev), "fb") == 0 ? NULL : ERR_PTR(-ENOENT);
}

void clk_put(struct clk *clk)
Expand Down

0 comments on commit f096afd

Please sign in to comment.