media: allegro: move mail definitions to separate file
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:37 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:28:16 +0000 (09:28 +0100)
commit6412d22627099d67979b86330212e709a1eef32b
tree3a3b02dfad6ccebcc16626aa91f6653de3694b4f
parent09e6a7d63ead8d260609924b242cfcf75514b779
media: allegro: move mail definitions to separate file

Move the mail definitions from the driver core to a dedicated file.

The mails that are exchanged between driver and firmware are not stable
across firmware versions. This is in preparation to make the driver able
to handle multiple firmware version by having dedicated code for
handling mails.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/allegro-dvt/Makefile
drivers/staging/media/allegro-dvt/allegro-core.c
drivers/staging/media/allegro-dvt/allegro-mail.c [new file with mode: 0644]
drivers/staging/media/allegro-dvt/allegro-mail.h [new file with mode: 0644]