uwb: remove unused #include <version.h>
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/uwb/drp-ie.c drivers/uwb/hwa-rc.c drivers/uwb/i1480/dfu/usb.c drivers/uwb/i1480/i1480u-wlp/lc.c drivers/uwb/i1480/i1480u-wlp/sysfs.c drivers/uwb/rsv.c drivers/uwb/whc-rc.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: David Vrabel <david.vrabel@csr.com>
This commit is contained in:
Родитель
4656d5de95
Коммит
7bc9149422
|
@ -16,7 +16,6 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/random.h>
|
#include <linux/random.h>
|
||||||
#include <linux/uwb.h>
|
#include <linux/uwb.h>
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/usb.h>
|
#include <linux/usb.h>
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
* the functions are i1480_usb_NAME().
|
* the functions are i1480_usb_NAME().
|
||||||
*/
|
*/
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/usb.h>
|
#include <linux/usb.h>
|
||||||
#include <linux/interrupt.h>
|
#include <linux/interrupt.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
|
@ -55,7 +55,6 @@
|
||||||
* is being removed.
|
* is being removed.
|
||||||
* i1480u_rm()
|
* i1480u_rm()
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/if_arp.h>
|
#include <linux/if_arp.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/uwb/debug.h>
|
#include <linux/uwb/debug.h>
|
||||||
|
|
|
@ -226,7 +226,6 @@ ssize_t wlp_tx_inflight_store(struct i1480u_tx_inflight *inflight,
|
||||||
* (CLASS_DEVICE_ATTR or DEVICE_ATTR) and i1480u_ATTR_NAME produces a
|
* (CLASS_DEVICE_ATTR or DEVICE_ATTR) and i1480u_ATTR_NAME produces a
|
||||||
* class_device_attr_NAME or device_attr_NAME (for group registration).
|
* class_device_attr_NAME or device_attr_NAME (for group registration).
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
|
|
||||||
#define i1480u_SHOW(name, fn, param) \
|
#define i1480u_SHOW(name, fn, param) \
|
||||||
static ssize_t i1480u_show_##name(struct device *dev, \
|
static ssize_t i1480u_show_##name(struct device *dev, \
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/uwb.h>
|
#include <linux/uwb.h>
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
* them to the hw and transfer the replies/notifications back to the
|
* them to the hw and transfer the replies/notifications back to the
|
||||||
* UWB stack through the UWB daemon (UWBD).
|
* UWB stack through the UWB daemon (UWBD).
|
||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче