Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250487
b: refs/heads/master
c: 4671127
h: refs/heads/master
i:
  250485: 0d01aac
  250483: e1fa413
  250479: 5efebac
v: v3
  • Loading branch information
Alexander Stein authored and Dmitry Torokhov committed Apr 12, 2011
1 parent a415de3 commit b212f63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92a47674f57b4a84a43ce93b0dfdb596c0543749
refs/heads/master: 467112777c462a592c27338eeea5d1a320e82b5f
2 changes: 1 addition & 1 deletion trunk/drivers/input/keyboard/gpio_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, ddata);
input_set_drvdata(input, ddata);

input->name = pdev->name;
input->name = pdata->name ? : pdev->name;
input->phys = "gpio-keys/input0";
input->dev.parent = &pdev->dev;
input->open = gpio_keys_open;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/gpio_keys.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ struct gpio_keys_platform_data {
unsigned int rep:1; /* enable input subsystem auto repeat */
int (*enable)(struct device *dev);
void (*disable)(struct device *dev);
const char *name; /* input device name */
};

#endif

0 comments on commit b212f63

Please sign in to comment.