commit | 388abdac58ba2d195aadaee27170c1e54943777f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jan 23 11:24:27 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 07 10:15:48 2014 -0800 |
tree | 2522c7c34f30a3e3b2a67e6333fd1fd324c87607 | |
parent | 91eef3e2fee581b00f027bbb0d144788a3c609a9 [diff] |
staging: cxt1e1: cleanup mfg_template[] a bit 1) Make it static. 2) Change it to u8 data instead of short. 3) This means we can memcpy() it to the correct location instead of using a for loop. 4) With memcpy() we can use the union member we want directly instead of copying to the generic .bytes union member. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>