Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287845
b: refs/heads/master
c: 482835c
h: refs/heads/master
i:
  287843: 4a20268
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Jan 18, 2012
1 parent baae77f commit 18d80dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 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: 0c929238ca4baefe47f4034732db4c154f2329c6
refs/heads/master: 482835ce02726652becc36b64522cbabc0adbeee
12 changes: 2 additions & 10 deletions trunk/arch/sh/boards/board-sh7757lcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,21 +210,13 @@ static struct resource sh_mmcif_resources[] = {
},
};

static struct sh_mmcif_dma sh7757lcr_mmcif_dma = {
.chan_priv_tx = {
.slave_id = SHDMA_SLAVE_MMCIF_TX,
},
.chan_priv_rx = {
.slave_id = SHDMA_SLAVE_MMCIF_RX,
}
};

static struct sh_mmcif_plat_data sh_mmcif_plat = {
.dma = &sh7757lcr_mmcif_dma,
.sup_pclk = 0x0f,
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA |
MMC_CAP_NONREMOVABLE,
.ocr = MMC_VDD_32_33 | MMC_VDD_33_34,
.slave_id_tx = SHDMA_SLAVE_MMCIF_TX,
.slave_id_rx = SHDMA_SLAVE_MMCIF_RX,
};

static struct platform_device sh_mmcif_device = {
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/sh/include/asm/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
*
* This file is released under the GPLv2
*/
#ifndef __ASM_SH_DEVICE_H
#define __ASM_SH_DEVICE_H

#include <asm-generic/device.h>
struct dev_archdata {
};

struct platform_device;
/* allocate contiguous memory chunk and fill in struct resource */
Expand All @@ -15,4 +14,5 @@ int platform_resource_setup_memory(struct platform_device *pdev,

void plat_early_device_setup(void);

#endif /* __ASM_SH_DEVICE_H */
struct pdev_archdata {
};
2 changes: 1 addition & 1 deletion trunk/drivers/video/pvr2fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ static struct pvr2_board {
int (*init)(void);
void (*exit)(void);
char name[16];
} board_driver[] __refdata = {
} board_driver[] = {
#ifdef CONFIG_SH_DREAMCAST
{ pvr2fb_dc_init, pvr2fb_dc_exit, "Sega DC PVR2" },
#endif
Expand Down

0 comments on commit 18d80dc

Please sign in to comment.