ixp4xx_hss: avoid calling dma_pool_create() with NULL dev
authorXi Wang <xi.wang@gmail.com>
Sat, 17 Nov 2012 20:25:10 +0000 (20:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 20:12:44 +0000 (15:12 -0500)
commit3e2f61cd7a4e7642dcac4371734426e572f10370
treebffa38a47f0468e70f3bf53ae31a8edb761da6dc
parent1a4901177574083c35fafc24c4d151c2a7c7647c
ixp4xx_hss: avoid calling dma_pool_create() with NULL dev

Use &port->netdev->dev instead of NULL since dma_pool_create() doesn't
allow NULL dev.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/ixp4xx_hss.c