media: s3c-camif: use LINUX_VERSION_CODE for driver's version
We seldomly increment version numbers on drivers, because... we usually forget ;-) So, instead, just make it identical to the Kernel version, as what we do on all other drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-by: Sylwester Nawrocki <snawrocki@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
d75cf0144f
commit
dbaed9f095
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ static int camif_media_dev_init(struct camif_dev *camif)
|
||||||
ip_rev == S3C6410_CAMIF_IP_REV ? "6410" : "244X");
|
ip_rev == S3C6410_CAMIF_IP_REV ? "6410" : "244X");
|
||||||
strlcpy(md->bus_info, "platform", sizeof(md->bus_info));
|
strlcpy(md->bus_info, "platform", sizeof(md->bus_info));
|
||||||
md->hw_revision = ip_rev;
|
md->hw_revision = ip_rev;
|
||||||
md->driver_version = KERNEL_VERSION(1, 0, 0);
|
md->driver_version = LINUX_VERSION_CODE;
|
||||||
|
|
||||||
md->dev = camif->dev;
|
md->dev = camif->dev;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue