cxgb4: Remove preprocessor check for CONFIG_CXGB4_DCB
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 30 Jan 2015 03:19:27 +0000 (08:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Feb 2015 06:38:00 +0000 (22:38 -0800)
commit3051fa617a3bb753185341a2040eaa454a54669e
tree77dd4be731ab21e7bce1ebd87902ee91fa66303b
parent2caabb3d2e600373b83588789896fe5a8831bbb1
cxgb4: Remove preprocessor check for CONFIG_CXGB4_DCB

In commit dc9daab226aa ("cxgb4: Added support in debugfs to dump
sge_qinfo") a preprocessor check for CONFIG_CXGB4_DCB got added, which should
have been CONFIG_CHELSIO_T4_DCB. After adding the right preprocessor, build
fails due to missing function ethqset2pinfo. Fixing that as well.

V2: Updated description since the patch also fixes build failure

Reported-by: Paul Bolle <pebolle@tiscal.nl>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c