]> Pileus Git - ~andy/linux/blobdiff - drivers/mfd/stmpe.c
Input: stmpe-keypad - add support for Device Tree bindings
[~andy/linux] / drivers / mfd / stmpe.c
index c94f521f392cb0b5214385ff57ac6e18e8762907..bf1ba93f43a05c78924d213caf03ea05303232ba 100644 (file)
@@ -324,6 +324,7 @@ static struct resource stmpe_keypad_resources[] = {
 
 static struct mfd_cell stmpe_keypad_cell = {
        .name           = "stmpe-keypad",
+       .of_compatible  = "st,stmpe-keypad",
        .resources      = stmpe_keypad_resources,
        .num_resources  = ARRAY_SIZE(stmpe_keypad_resources),
 };
@@ -411,6 +412,7 @@ static struct resource stmpe_ts_resources[] = {
 
 static struct mfd_cell stmpe_ts_cell = {
        .name           = "stmpe-ts",
+       .of_compatible  = "st,stmpe-ts",
        .resources      = stmpe_ts_resources,
        .num_resources  = ARRAY_SIZE(stmpe_ts_resources),
 };