Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=27bb9e79bcfedc1888d23c3c212c189fa8534fe7 Commit: 27bb9e79bcfedc1888d23c3c212c189fa8534fe7 Parent: 566da5b2666e62a7b061b42964658697183bef1c Author: Mike Frysinger <[EMAIL PROTECTED]> AuthorDate: Mon Jun 11 15:31:30 2007 +0800 Committer: Bryan Wu <[EMAIL PROTECTED]> CommitDate: Mon Jun 11 15:31:30 2007 +0800
Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c index 7d2d9ec..a2d4884 100644 --- a/drivers/spi/spi_bfin5xx.c +++ b/drivers/spi/spi_bfin5xx.c @@ -1082,7 +1082,7 @@ static int setup(struct spi_device *spi) */ static void cleanup(struct spi_device *spi) { - struct chip_data *chip = spi_get_ctldata((struct spi_device *)spi); + struct chip_data *chip = spi_get_ctldata(spi); kfree(chip); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html