treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
[linux-block.git] / drivers / media / usb / pwc / pwc-dec1.c
CommitLineData
1a59d1b8 1// SPDX-License-Identifier: GPL-2.0-or-later
2b455db6
LS
2/* Linux driver for Philips webcam
3 Decompression for chipset version 1
4 (C) 2004-2006 Luc Saillard (luc@saillard.org)
5
6 NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
7 driver and thus may have bugs that are not present in the original version.
8 Please send bug reports and support requests to <luc@saillard.org>.
9 The decompression routines have been implemented by reverse-engineering the
10 Nemosoft binary pwcx module. Caveat emptor.
11
2b455db6 12*/
56ae24aa 13#include "pwc.h"
2b455db6 14
24be689b 15void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
2b455db6 16{
56ae24aa 17 struct pwc_dec1_private *pdec = &pdev->dec1;
2b455db6 18
56ae24aa 19 pdec->version = pdev->release;
2b455db6 20}