Skip to content

Commit

Permalink
[PATCH] Input: fix add modalias support build error
Browse files Browse the repository at this point in the history
Fix build when scripts/mod/file2alias.c includes linux/input.h, which
tries to include /usr/include/linux/mod_devicetable.h:

 In file included from scripts/mod/file2alias.c:40:
 include/linux/input.h:21:35: linux/mod_devicetable.h: No such file or directory
 make[2]: *** [scripts/mod/file2alias.o] Error 1

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Rusty Russell authored and Greg Kroah-Hartman committed Jan 5, 2006
1 parent 1d8f430 commit e39b843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
#include <linux/time.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>
#else
#include <sys/time.h>
#include <sys/ioctl.h>
#include <asm/types.h>
#endif
#include <linux/mod_devicetable.h>

/*
* The event structure itself
Expand Down

0 comments on commit e39b843

Please sign in to comment.