emmc/pmmc: make all symbols static
This commit is contained in:
parent
646062da1c
commit
fb9a4ac610
|
@ -122,7 +122,7 @@ enum {
|
||||||
Cmdinhibit = 1<<0,
|
Cmdinhibit = 1<<0,
|
||||||
};
|
};
|
||||||
|
|
||||||
int cmdinfo[64] = {
|
static int cmdinfo[64] = {
|
||||||
[0] Ixchken,
|
[0] Ixchken,
|
||||||
[2] Resp136,
|
[2] Resp136,
|
||||||
[3] Resp48 | Ixchken | Crcchken,
|
[3] Resp48 | Ixchken | Crcchken,
|
||||||
|
@ -350,7 +350,7 @@ emmccmd(u32int cmd, u32int arg, u32int *resp)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
emmciosetup(int write, void *buf, int bsize, int bcount)
|
emmciosetup(int write, void *buf, int bsize, int bcount)
|
||||||
{
|
{
|
||||||
USED(write);
|
USED(write);
|
||||||
|
|
|
@ -142,7 +142,7 @@ enum {
|
||||||
Host2card = Mwr << 8,
|
Host2card = Mwr << 8,
|
||||||
};
|
};
|
||||||
|
|
||||||
int cmdinfo[64] = {
|
static int cmdinfo[64] = {
|
||||||
[0] Ixchken,
|
[0] Ixchken,
|
||||||
[2] Resp136,
|
[2] Resp136,
|
||||||
[3] Resp48 | Ixchken | Crcchken,
|
[3] Resp48 | Ixchken | Crcchken,
|
||||||
|
|
|
@ -116,7 +116,7 @@ enum {
|
||||||
Cmdinhibit = 1<<0,
|
Cmdinhibit = 1<<0,
|
||||||
};
|
};
|
||||||
|
|
||||||
int cmdinfo[64] = {
|
static int cmdinfo[64] = {
|
||||||
[0] Ixchken,
|
[0] Ixchken,
|
||||||
[2] Resp136,
|
[2] Resp136,
|
||||||
[3] Resp48 | Ixchken | Crcchken,
|
[3] Resp48 | Ixchken | Crcchken,
|
||||||
|
@ -338,7 +338,7 @@ emmccmd(u32int cmd, u32int arg, u32int *resp)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
emmciosetup(int write, void *buf, int bsize, int bcount)
|
emmciosetup(int write, void *buf, int bsize, int bcount)
|
||||||
{
|
{
|
||||||
u32int *r;
|
u32int *r;
|
||||||
|
|
Loading…
Reference in a new issue