Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137381
b: refs/heads/master
c: 673492a
h: refs/heads/master
i:
  137379: 2764f29
v: v3
  • Loading branch information
Alexander Clouter authored and Nicolas Pitre committed Feb 25, 2009
1 parent 87f9cd6 commit bc5aa9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 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: f5273fa3102fa4c25819f3034b8834c37d3e62a3
refs/heads/master: 673492a800b14a9aac5d9d1af120334b9578a23c
14 changes: 1 addition & 13 deletions trunk/arch/arm/mach-orion5x/ts78xx-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static struct mv_sata_platform_data ts78xx_sata_data = {
/*****************************************************************************
* RTC M48T86 - nicked^Wborrowed from arch/arm/mach-ep93xx/ts72xx.c
****************************************************************************/
#ifdef CONFIG_RTC_DRV_M48T86
#define TS_RTC_CTRL (TS78XX_FPGA_REGS_VIRT_BASE | 0x808)
#define TS_RTC_DATA (TS78XX_FPGA_REGS_VIRT_BASE | 0x80c)

Expand Down Expand Up @@ -150,16 +149,6 @@ static void ts78xx_ts_rtc_unload(void)
{
platform_device_del(&ts78xx_ts_rtc_device);
}
#else
static int ts78xx_ts_rtc_load(void)
{
return -ENODEV;
}

static void ts78xx_ts_rtc_unload(void)
{
}
#endif

/*****************************************************************************
* FPGA 'hotplug' support code
Expand Down Expand Up @@ -188,8 +177,7 @@ static int ts78xx_fpga_load_devices(void)
if (ts78xx_fpga.supports.ts_rtc.present == 1) {
tmp = ts78xx_ts_rtc_load();
if (tmp) {
printk(KERN_INFO "TS-78xx RTC"
" not detected or enabled\n");
printk(KERN_INFO "TS-78xx: RTC not registered\n");
ts78xx_fpga.supports.ts_rtc.present = 0;
}
ret |= tmp;
Expand Down

0 comments on commit bc5aa9e

Please sign in to comment.