mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
pcmcia: move Vpp setup to struct pcmcia_device
Some drivers prefer to explicitly set Vpp. Instead of passing the voltage inside config_req_t, store it in struct pcmcia_device. CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] Acked-by: Gustavo F. Padovan <[email protected]> (for drivers/bluetooth) Tested-by: Wolfram Sang <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
fb49fa533f
commit
e8405f0f61
17 changed files with 40 additions and 39 deletions
|
|
@ -22,7 +22,6 @@
|
|||
/* For RequestConfiguration */
|
||||
typedef struct config_req_t {
|
||||
u_int Attributes;
|
||||
u_int Vpp; /* both Vpp1 and Vpp2 */
|
||||
u_int IntType;
|
||||
u_int ConfigBase;
|
||||
u_char Status, Pin, Copy, ExtStatus;
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ struct pcmcia_device {
|
|||
/* device setup */
|
||||
unsigned int irq;
|
||||
struct resource *resource[PCMCIA_NUM_RESOURCES];
|
||||
unsigned int vpp;
|
||||
|
||||
unsigned int io_lines; /* number of I/O lines */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue