adding bits_per_word to struct spi_board_info to mirror struct spi_device

From: Mike Frysinger
Date: Wed Apr 25 2007 - 06:05:34 EST


the spi_device structure has a bits_per_word so that you can change
the value on a per-device setting, yet the spi_board_info structure
does not ... this means that the bus-specific structure has to have a
bits_per_word member which the spi bus driver will copy into the spi
device bits_per_word member

is there something obvious i'm missing ? seems to me that if the
generic spi framework respects bits_per_word on a per-spi device
basis, then it should be exposed in the generic info structure so that
the setting can be tracked in the boards file ...
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/