diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-02-07 10:19:54 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-02-10 09:22:42 (GMT) |
commit | de9a1691bb9b6ca1908ad3a47bc9dd02587a4a28 (patch) | |
tree | 7a48eaef3dae46092646de20ee3d333810669940 /drivers/net/ethernet/freescale/dpa | |
parent | 8d9b7a25e65627550c1e49991276196f581b1bb7 (diff) | |
download | linux-fsl-qoriq-de9a1691bb9b6ca1908ad3a47bc9dd02587a4a28.tar.xz |
dpaa_eth: silence checkpatch complaint
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I9447a3840310c0475dcabae963d0cd5f1e2db105
Reviewed-on: http://git.am.freescale.net:8181/8651
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c index 8d843f7..0726948 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c @@ -944,7 +944,7 @@ invalid_error_queue: static u32 rx_pool_channel; static DEFINE_SPINLOCK(rx_pool_channel_init); -int dpa_get_channel() +int dpa_get_channel(void) { spin_lock(&rx_pool_channel_init); if (!rx_pool_channel) { |