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)
commit0f989f749b51ec1fd94bb5a42f8ad10c8b9f73cb
tree90336ee63fc49264afcd87d7743c49dfa41f060e
parent4d5755b147665912c938504033d958f1115b68ff
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