cxm(4): Fix type mismatches on firmware variables.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 29 Sep 2016 12:59:31 +0000 (15:59 +0300)
committerzrj <zrj@dragonflybsd.org>
Thu, 29 Sep 2016 15:17:47 +0000 (18:17 +0300)
commit02b1bea02c6a2bccaedf9480a4f6695d4c0beb49
treea0cf5f966dac466558b46f0c9204238bc4d3a3c7
parent4168cfe83d326d207594eb3252bff6a0fa44ee9b
cxm(4): Fix type mismatches on firmware variables.

This one is strange, uses casts to uint32_t.
Add attributes to prototypes too.
While there, switch to __aligned(x) for attributes.

Noticed while playing with -flto on LINT64 kernel configuration.
sys/dev/video/cxm/cxm.h
sys/dev/video/cxm/cxm_dec_fw.c
sys/dev/video/cxm/cxm_enc_fw.c