| .. | .. |
|---|
| 193 | 193 | } |
|---|
| 194 | 194 | |
|---|
| 195 | 195 | static const struct of_device_id adc128_of_match[] = { |
|---|
| 196 | | - { .compatible = "ti,adc128s052", }, |
|---|
| 197 | | - { .compatible = "ti,adc122s021", }, |
|---|
| 198 | | - { .compatible = "ti,adc122s051", }, |
|---|
| 199 | | - { .compatible = "ti,adc122s101", }, |
|---|
| 200 | | - { .compatible = "ti,adc124s021", }, |
|---|
| 201 | | - { .compatible = "ti,adc124s051", }, |
|---|
| 202 | | - { .compatible = "ti,adc124s101", }, |
|---|
| 196 | + { .compatible = "ti,adc128s052", .data = (void*)0L, }, |
|---|
| 197 | + { .compatible = "ti,adc122s021", .data = (void*)1L, }, |
|---|
| 198 | + { .compatible = "ti,adc122s051", .data = (void*)1L, }, |
|---|
| 199 | + { .compatible = "ti,adc122s101", .data = (void*)1L, }, |
|---|
| 200 | + { .compatible = "ti,adc124s021", .data = (void*)2L, }, |
|---|
| 201 | + { .compatible = "ti,adc124s051", .data = (void*)2L, }, |
|---|
| 202 | + { .compatible = "ti,adc124s101", .data = (void*)2L, }, |
|---|
| 203 | 203 | { /* sentinel */ }, |
|---|
| 204 | 204 | }; |
|---|
| 205 | 205 | MODULE_DEVICE_TABLE(of, adc128_of_match); |
|---|