backports: check for define in module_driver and not kernel version
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 30 Nov 2013 19:54:39 +0000 (20:54 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 2 Dec 2013 10:49:16 +0000 (11:49 +0100)
commit67b37bef315c0554b0a6a48f39c69753dcb043de
tree8883a1c4ccf9a105caeaa5464466a92ed34bb676
parent74571a07a608daf241433172ee398c0b71188af8
backports: check for define in module_driver and not kernel version

In some places backports checked for the kernel version on weather to
add a own define for module_driver or not. This patch makes it check if
there is already one or not.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/linux/device.h
backport/backport-include/linux/pci.h
backport/backport-include/linux/platform_device.h
backport/backport-include/linux/usb.h