From 4563e7b5cb43e45b82f35ff4f7495801724aa5f4 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Tue, 6 Jan 2009 14:41:45 -0800 Subject: [PATCH] --- yaml --- r: 126336 b: refs/heads/master c: 51e911e27690aecea01d4fe9cb22d38bdd0748ac h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/spi/pxa2xx_spi.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 91d7dfb206b7..6376915de88b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ee9c1fbfe130a20e0f23d1693d6427dac97239bc +refs/heads/master: 51e911e27690aecea01d4fe9cb22d38bdd0748ac diff --git a/trunk/drivers/spi/pxa2xx_spi.c b/trunk/drivers/spi/pxa2xx_spi.c index 6104f461a3cd..d0fc4ca2f656 100644 --- a/trunk/drivers/spi/pxa2xx_spi.c +++ b/trunk/drivers/spi/pxa2xx_spi.c @@ -1561,11 +1561,12 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev) static int pxa2xx_spi_remove(struct platform_device *pdev) { struct driver_data *drv_data = platform_get_drvdata(pdev); - struct ssp_device *ssp = drv_data->ssp; + struct ssp_device *ssp; int status = 0; if (!drv_data) return 0; + ssp = drv_data->ssp; /* Remove the queue */ status = destroy_queue(drv_data);