Merge branch 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
sh: Provide a FLAT_PLAT_INIT() definition.
binfmt_flat: Stub in a FLAT_PLAT_INIT().
video: export sh_mobile_lcdc panel size
sh: select memchunk size using kernel cmdline
sh: export sh7723 VEU as VEU2H
input: migor_ts compile and detection fix
sh: remove MSTPCR defines from Migo-R header file
sh: Update sh7763rdp defconfig
sh: Add support sh7760fb to sh7763rdp board
sh: Add support sh_eth to sh7763rdp board
sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE.
sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc.
fix SH7705_CACHE_32KB compilation
sh: mach-x3proto: Fix up smc91x platform data.
This commit is contained in:
@@ -173,7 +173,7 @@ static int migor_ts_probe(struct i2c_client *client,
|
||||
input_set_abs_params(input, ABS_X, 95, 955, 0, 0);
|
||||
input_set_abs_params(input, ABS_Y, 85, 935, 0, 0);
|
||||
|
||||
input->name = client->driver_name;
|
||||
input->name = client->name;
|
||||
input->id.bustype = BUS_I2C;
|
||||
input->dev.parent = &client->dev;
|
||||
|
||||
@@ -192,7 +192,7 @@ static int migor_ts_probe(struct i2c_client *client,
|
||||
goto err1;
|
||||
|
||||
error = request_irq(priv->irq, migor_ts_isr, IRQF_TRIGGER_LOW,
|
||||
client->driver_name, priv);
|
||||
client->name, priv);
|
||||
if (error) {
|
||||
dev_err(&client->dev, "Unable to request touchscreen IRQ.\n");
|
||||
goto err2;
|
||||
@@ -224,12 +224,19 @@ static int migor_ts_remove(struct i2c_client *client)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct i2c_device_id migor_ts_id[] = {
|
||||
{ "migor_ts", 0 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, migor_ts);
|
||||
|
||||
static struct i2c_driver migor_ts_driver = {
|
||||
.driver = {
|
||||
.name = "migor_ts",
|
||||
},
|
||||
.probe = migor_ts_probe,
|
||||
.remove = migor_ts_remove,
|
||||
.id_table = migor_ts_id,
|
||||
};
|
||||
|
||||
static int __init migor_ts_init(void)
|
||||
|
||||
Reference in New Issue
Block a user