bus: fsl-mc: change mc_command in fsl_mc_command
The "struct mc_command" is a very generic name for a global kernel structure. Change its name in "struct fsl_mc_command". Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
12a0148711
commit
5b04cedeca
@@ -31,7 +31,7 @@ int dpcon_open(struct fsl_mc_io *mc_io,
|
||||
int dpcon_id,
|
||||
u16 *token)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
struct dpcon_cmd_open *dpcon_cmd;
|
||||
int err;
|
||||
|
||||
@@ -69,7 +69,7 @@ int dpcon_close(struct fsl_mc_io *mc_io,
|
||||
u32 cmd_flags,
|
||||
u16 token)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
|
||||
/* prepare command */
|
||||
cmd.header = mc_encode_cmd_header(DPCON_CMDID_CLOSE,
|
||||
@@ -93,7 +93,7 @@ int dpcon_enable(struct fsl_mc_io *mc_io,
|
||||
u32 cmd_flags,
|
||||
u16 token)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
|
||||
/* prepare command */
|
||||
cmd.header = mc_encode_cmd_header(DPCON_CMDID_ENABLE,
|
||||
@@ -117,7 +117,7 @@ int dpcon_disable(struct fsl_mc_io *mc_io,
|
||||
u32 cmd_flags,
|
||||
u16 token)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
|
||||
/* prepare command */
|
||||
cmd.header = mc_encode_cmd_header(DPCON_CMDID_DISABLE,
|
||||
@@ -141,7 +141,7 @@ int dpcon_reset(struct fsl_mc_io *mc_io,
|
||||
u32 cmd_flags,
|
||||
u16 token)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
|
||||
/* prepare command */
|
||||
cmd.header = mc_encode_cmd_header(DPCON_CMDID_RESET,
|
||||
@@ -166,7 +166,7 @@ int dpcon_get_attributes(struct fsl_mc_io *mc_io,
|
||||
u16 token,
|
||||
struct dpcon_attr *attr)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
struct dpcon_rsp_get_attr *dpcon_rsp;
|
||||
int err;
|
||||
|
||||
@@ -204,7 +204,7 @@ int dpcon_set_notification(struct fsl_mc_io *mc_io,
|
||||
u16 token,
|
||||
struct dpcon_notification_cfg *cfg)
|
||||
{
|
||||
struct mc_command cmd = { 0 };
|
||||
struct fsl_mc_command cmd = { 0 };
|
||||
struct dpcon_cmd_set_notification *dpcon_cmd;
|
||||
|
||||
/* prepare command */
|
||||
|
Reference in New Issue
Block a user