Date:2011-07-06 16:24:43 (12 years 8 months ago)
Author:Werner Almesberger
Commit:67a52a6f298b883172cee3e596e2f3f8dbcc4d0c
Message:atusb: remove atusb_read2

It was just a stub producing a warning and we don't need the
functionality now anyway (it would be necessary for SRAM reads, but
it's still not clear if we'll ever need these).

Signed-off-by: Werner Almesberger <werner@almesberger.net>
Files: drivers/spi/atusb.c (1 diff)

Change Details

drivers/spi/atusb.c
287287        atusb->buffer, len+1, atusb_read_fb_cb, atusb);
288288}
289289
290static void atusb_read2(struct atusb_local *atusb, uint8_t *buf, int len)
291{
292    /* ->host ATUSB_SPI_READ2 byte0 byte1 #bytes */
293}
294
295290static int atusb_write(struct atusb_local *atusb,
296291    uint8_t tx0, uint8_t tx1, const uint8_t *tx, int len)
297292{

Archive Download the corresponding diff file



interactive