History

extcon: adc-jack: Fix incompatible pointer type warning

This patch fixes the incompatible warning of extcon-adc-jack.c driver when calling devm_extcon_dev_allocate().

Peter Foley committed 9 years ago

Commit 8a522bf1 parent 6c467a11 file · +1 −1Browse files

Showing the changes to include/linux/extcon (1 of 1 file). Show all

Unified · Split

include/linux/extcon/extcon-adc-jack.h+1−1
@@ -59,7 +59,7 @@ struct adc_jack_pdata { · 58 unmodified lines
5959 const char *name;
6060 const char *consumer_channel;
6161
62− const enum extcon *cable_names;
62+ const unsigned int *cable_names;
6363
6464 /* The last entry's state should be 0 */
6565 struct adc_jack_cond *adc_conditions;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t