mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
vt: Fix use of "new" in a struct field
As this struct is exposed to user space and the API was added for this release it's a bit of a pain for the C++ world and we still have time to fix it. Rename the fields before we end up with that pain in an actual release. Signed-off-by: Alan Cox <alan@linux.intel.com> Reported-by: Olivier Goffart Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5854d9c8d1
commit
308efab5e2
2 changed files with 5 additions and 5 deletions
|
|
@ -70,8 +70,8 @@ struct vt_event {
|
|||
#define VT_EVENT_UNBLANK 0x0004 /* Screen unblank */
|
||||
#define VT_EVENT_RESIZE 0x0008 /* Resize display */
|
||||
#define VT_MAX_EVENT 0x000F
|
||||
unsigned int old; /* Old console */
|
||||
unsigned int new; /* New console (if changing) */
|
||||
unsigned int oldev; /* Old console */
|
||||
unsigned int newev; /* New console (if changing) */
|
||||
unsigned int pad[4]; /* Padding for expansion */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue