diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-01-22 16:45:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 13:37:11 -0500 |
commit | 2943ecf2ed32632473c06f1975db47a7aa98c10f (patch) | |
tree | 94bbae37d42f3e03fd8fc4a86767f5815a1318fb /drivers/spi/pxa2xx_spi.c | |
parent | 873733188a019acdb7fa253011cbdc0a8afd97f3 (diff) |
Driver core: convert SPI code to use struct device
Converts from using struct "class_device" to "struct device" making
everything show up properly in /sys/devices/ with symlinks from the
/sys/class directory.
Cc: <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/spi/pxa2xx_spi.c')
-rw-r--r-- | drivers/spi/pxa2xx_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c index 8b41f9cc256..dccdc50b029 100644 --- a/drivers/spi/pxa2xx_spi.c +++ b/drivers/spi/pxa2xx_spi.c | |||
@@ -1234,7 +1234,7 @@ static int init_queue(struct driver_data *drv_data) | |||
1234 | 1234 | ||
1235 | INIT_WORK(&drv_data->pump_messages, pump_messages); | 1235 | INIT_WORK(&drv_data->pump_messages, pump_messages); |
1236 | drv_data->workqueue = create_singlethread_workqueue( | 1236 | drv_data->workqueue = create_singlethread_workqueue( |
1237 | drv_data->master->cdev.dev->bus_id); | 1237 | drv_data->master->dev.parent->bus_id); |
1238 | if (drv_data->workqueue == NULL) | 1238 | if (drv_data->workqueue == NULL) |
1239 | return -EBUSY; | 1239 | return -EBUSY; |
1240 | 1240 | ||