Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123925
b: refs/heads/master
c: e0a84eb
h: refs/heads/master
i:
  123923: ed658e5
v: v3
  • Loading branch information
Uwe Kleine-König committed Dec 9, 2008
1 parent 0bf5c3d commit 8fe55ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2fcfe6b872b21639dcffbaf3ca2a84ec01d104e0
refs/heads/master: e0a84ebd4808e032d2ac5acb256f2f93fac1da32
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-netx/xc.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ static int xc_check_ptr(struct xc *x, unsigned long adr, unsigned int size)
return -1;
}

static int xc_patch(struct xc *x, void *patch, int count)
static int xc_patch(struct xc *x, const void *patch, int count)
{
unsigned int val, adr;
unsigned int *data = patch;
const unsigned int *data = patch;

int i;
for (i = 0; i < count; i++) {
Expand All @@ -117,7 +117,7 @@ int xc_request_firmware(struct xc *x)
struct fw_header *head;
unsigned int size;
int i;
void *src;
const void *src;
unsigned long dst;

sprintf(name, "xc%d.bin", x->no);
Expand Down

0 comments on commit 8fe55ea

Please sign in to comment.