media: imx: fix breakages when compiling for arm
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 29 Dec 2017 19:55:41 +0000 (14:55 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 29 Dec 2017 19:55:41 +0000 (14:55 -0500)
commitd0c8f6ad8b381dd572576ac50b9696d4d31142bb
treeb09622a7a2fbfe99b8487a1d44a11eb7f393ce15
parente3401c2d3804ec67f90ac20ce684171a02c8bf3e
media: imx: fix breakages when compiling for arm

As reported:

   drivers/staging/media/imx/imx-media-dev.c: In function 'find_async_subdev':
>> drivers/staging/media/imx/imx-media-dev.c:55:49: error: request for member 'name' in something not a structure or union
       if (devname && !strcmp(asd->match.device_name.name,
                                                    ^
   drivers/staging/media/imx/imx-media-dev.c: In function 'imx_media_add_async_subdev':
   drivers/staging/media/imx/imx-media-dev.c:110:25: error: request for member 'name' in something not a structure or union
      asd->match.device_name.name = devname;
                            ^

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-media-dev.c