summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/goldfish_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/goldfish_events.c')
-rw-r--r--drivers/input/keyboard/goldfish_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/goldfish_events.c b/drivers/input/keyboard/goldfish_events.c
index bc8c85a52a10..57d435fc5c73 100644
--- a/drivers/input/keyboard/goldfish_events.c
+++ b/drivers/input/keyboard/goldfish_events.c
@@ -30,7 +30,7 @@ struct event_dev {
struct input_dev *input;
int irq;
void __iomem *addr;
- char name[0];
+ char name[];
};
static irqreturn_t events_interrupt(int irq, void *dev_id)