aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bfin5xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-bfin5xx.c')
-rw-r--r--drivers/spi/spi-bfin5xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c
index ca421c40e202..b8d25f2b7038 100644
--- a/drivers/spi/spi-bfin5xx.c
+++ b/drivers/spi/spi-bfin5xx.c
@@ -1186,7 +1186,7 @@ static void bfin_spi_cleanup(struct spi_device *spi)
1186 spi_set_ctldata(spi, NULL); 1186 spi_set_ctldata(spi, NULL);
1187} 1187}
1188 1188
1189static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data) 1189static int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
1190{ 1190{
1191 INIT_LIST_HEAD(&drv_data->queue); 1191 INIT_LIST_HEAD(&drv_data->queue);
1192 spin_lock_init(&drv_data->lock); 1192 spin_lock_init(&drv_data->lock);
@@ -1208,7 +1208,7 @@ static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
1208 return 0; 1208 return 0;
1209} 1209}
1210 1210
1211static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data) 1211static int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
1212{ 1212{
1213 unsigned long flags; 1213 unsigned long flags;
1214 1214
@@ -1230,7 +1230,7 @@ static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
1230 return 0; 1230 return 0;
1231} 1231}
1232 1232
1233static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data) 1233static int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
1234{ 1234{
1235 unsigned long flags; 1235 unsigned long flags;
1236 unsigned limit = 500; 1236 unsigned limit = 500;
@@ -1259,7 +1259,7 @@ static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
1259 return status; 1259 return status;
1260} 1260}
1261 1261
1262static inline int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data) 1262static int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data)
1263{ 1263{
1264 int status; 1264 int status;
1265 1265