net/qede/base: change signature of MCP command
authorHarish Patil <harish.patil@qlogic.com>
Wed, 19 Oct 2016 04:11:22 +0000 (21:11 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:42:11 +0000 (19:42 +0200)
commitffdd0599173b4a00b98c11fb9ebcaaea76fc3abf
treebdb856664156c3297ecb28f0c0dfa24895d12fd9
parentecc7a5a27ffea2d8e44ef947a2502bbcf95231e5
net/qede/base: change signature of MCP command

Change ecore_mcp_cmd_and_union() to accept pointer to a structure rather
than accepting multiple arguments. A new struct ecore_mcp_mb_params is
added for that purpose. Also make this function static. This change is
mostly keeping in mind the future requests which needs additional
arguments.

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/qede/base/bcm_osal.h
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp.h