aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2009-03-02 18:51:56 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-02 18:51:56 +0000
commit81da012eb0fff1bc5f129202d0c12b1d63a7761a (patch)
tree3c2b6ca3b900b74e9784798722c581d5779bee33 /drivers/spi
parent560b9fed82e9fd5259ba611c9c6da449cf3f548b (diff)
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 <andy@openmoko.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_s3c64xx_gpio.c2
1 files changed, 1 insertions, 1 deletions
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);
}