]> git.baikalelectronics.ru Git - kernel.git/commit
MODULE_DEVICE_TABLE: fix some callsites
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 13 Feb 2015 22:39:11 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:40 +0000 (21:21 -0800)
commit9d0aa63c13e44c566e5b8a1ea544d125992c0ea1
tree90336ee63fc49264afcd87d7743c49dfa41f060e
parent750d6dbb71f7d0daf49c262e92264ff135881829
MODULE_DEVICE_TABLE: fix some callsites

The patch "module: fix types of device tables aliases" newly requires that
invocations of

MODULE_DEVICE_TABLE(type, name);

come *after* the definition of `name'.  That is reasonable, but some
drivers weren't doing this.  Fix them.

Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Andrey Ryabinin <a.ryabinin@samsung.com>
Cc: David Miller <davem@davemloft.net>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/video4linux/v4l2-pci-skeleton.c
drivers/net/ethernet/emulex/benet/be_main.c
drivers/scsi/be2iscsi/be_main.c