=================================================================== RCS file: /cvs/funnyos/arch/sam7s64/dev/saapbus.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- funnyos/arch/sam7s64/dev/saapbus.c 2007/11/09 16:03:49 1.1 +++ funnyos/arch/sam7s64/dev/saapbus.c 2007/11/09 18:13:38 1.2 @@ -1,5 +1,5 @@ /* - * $Id: saapbus.c,v 1.1 2007/11/09 16:03:49 init Exp $ + * $Id: saapbus.c,v 1.2 2007/11/09 18:13:38 init Exp $ */ #include #include @@ -31,10 +31,10 @@ int -saapbus_attach(struct device *self, uint32_t loc, uint32_t flags) +saapbus_attach(struct device *self, uint32_t loc, uint8_t flags) { struct saapbus_dd *ddp = self->dv_devdata; - struct bus_handle *bhp = &ddp->od_bh; + struct bus_handle *bhp = &ddp->sd_bushandle; bhp->bus_read_1 = saapbus_read_1; bhp->bus_read_2 = saapbus_read_2;