From 81da012eb0fff1bc5f129202d0c12b1d63a7761a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 2 Mar 2009 18:51:56 +0000 Subject: rename-gta03-dropped-3d7k-new-moniker.patch GTA03 project is dropped, long live Openmoko 3d7k project. This name was literally generated by picking the first character of the next four car license plates to pass by I am told. The should catch all GTA03 instances except the machine name. I registered a new machine name since the 3d7k is different from original GTA03, the machine number is 2120. Signed-off-by: Andy Green --- drivers/spi/spi_s3c64xx_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/spi') diff --git a/drivers/spi/spi_s3c64xx_gpio.c b/drivers/spi/spi_s3c64xx_gpio.c index 9953959476a..446414f1569 100644 --- a/drivers/spi/spi_s3c64xx_gpio.c +++ b/drivers/spi/spi_s3c64xx_gpio.c @@ -90,7 +90,7 @@ static void s3c64xx_spigpio_chipselect(struct spi_device *dev, int value) { struct s3c64xx_spigpio *sg = spidev_to_sg(dev); - if (sg->info && sg->info->chip_select) + if (sg && sg->info && sg->info->chip_select) (sg->info->chip_select)(sg->info, dev->chip_select, value); } -- cgit v1.2.3