Skip to content

Commit

Permalink
spi/bfin_spi: uninline fat queue funcs
Browse files Browse the repository at this point in the history
There's no need for these queue funcs to be inlined, so drop the
markings.  This shaves off a few hundred duplicated bytes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Mike Frysinger authored and Grant Likely committed Jun 17, 2011
1 parent ddc0bf1 commit c52d4e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/spi/spi-bfin5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ static void bfin_spi_cleanup(struct spi_device *spi)
spi_set_ctldata(spi, NULL);
}

static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
static int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
{
INIT_LIST_HEAD(&drv_data->queue);
spin_lock_init(&drv_data->lock);
Expand All @@ -1208,7 +1208,7 @@ static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
return 0;
}

static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
static int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
{
unsigned long flags;

Expand All @@ -1230,7 +1230,7 @@ static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
return 0;
}

static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
static int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
{
unsigned long flags;
unsigned limit = 500;
Expand Down Expand Up @@ -1259,7 +1259,7 @@ static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
return status;
}

static inline int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data)
static int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data)
{
int status;

Expand Down

0 comments on commit c52d4e5

Please sign in to comment.