diff options
author | Uri Shkolnik <uris@siano-ms.com> | 2009-05-19 11:10:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:14:39 -0400 |
commit | 4887f7b4ef8926fd8eb79a928d5f3c4ea25263b8 (patch) | |
tree | 9dd3123ae5d91e359bcf1db35443fe2887887139 /drivers/media | |
parent | 7c4ca79f4969a5c5ffcf31a3ba01453821669ced (diff) |
V4L/DVB (11886): Siano: smscore - fix some new GPIO definitions names
Fix some definitions' names, in order to emphasize the names
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.h b/drivers/media/dvb/siano/smscoreapi.h index 03bdc94950fe..f1108c64e895 100644 --- a/drivers/media/dvb/siano/smscoreapi.h +++ b/drivers/media/dvb/siano/smscoreapi.h | |||
@@ -580,10 +580,10 @@ struct smscore_gpio_config { | |||
580 | #define SMS_GPIO_DIRECTION_OUTPUT 1 | 580 | #define SMS_GPIO_DIRECTION_OUTPUT 1 |
581 | u8 Direction; | 581 | u8 Direction; |
582 | 582 | ||
583 | #define SMS_GPIO_PULLUPDOWN_NONE 0 | 583 | #define SMS_GPIO_PULL_UP_DOWN_NONE 0 |
584 | #define SMS_GPIO_PULLUPDOWN_PULLDOWN 1 | 584 | #define SMS_GPIO_PULL_UP_DOWN_PULLDOWN 1 |
585 | #define SMS_GPIO_PULLUPDOWN_PULLUP 2 | 585 | #define SMS_GPIO_PULL_UP_DOWN_PULLUP 2 |
586 | #define SMS_GPIO_PULLUPDOWN_KEEPER 3 | 586 | #define SMS_GPIO_PULL_UP_DOWN_KEEPER 3 |
587 | u8 PullUpDown; | 587 | u8 PullUpDown; |
588 | 588 | ||
589 | #define SMS_GPIO_INPUT_CHARACTERISTICS_NORMAL 0 | 589 | #define SMS_GPIO_INPUT_CHARACTERISTICS_NORMAL 0 |
@@ -607,13 +607,12 @@ struct smscore_gpio_config { | |||
607 | 607 | ||
608 | #define SMS_GPIO_OUTPUT_DRIVING_1_5mA 0 /* 11xx */ | 608 | #define SMS_GPIO_OUTPUT_DRIVING_1_5mA 0 /* 11xx */ |
609 | #define SMS_GPIO_OUTPUT_DRIVING_2_8mA 1 /* 11xx */ | 609 | #define SMS_GPIO_OUTPUT_DRIVING_2_8mA 1 /* 11xx */ |
610 | #define SMS_GPIO_OUTPUT_DRIVING_4mA 2 /* 11xx */ | 610 | #define SMS_GPIO_OUTPUT_DRIVING_4mA 2 /* 11xx */ |
611 | #define SMS_GPIO_OUTPUT_DRIVING_7mA 3 /* 11xx */ | 611 | #define SMS_GPIO_OUTPUT_DRIVING_7mA 3 /* 11xx */ |
612 | #define SMS_GPIO_OUTPUT_DRIVING_10mA 4 /* 11xx */ | 612 | #define SMS_GPIO_OUTPUT_DRIVING_10mA 4 /* 11xx */ |
613 | #define SMS_GPIO_OUTPUT_DRIVING_11mA 5 /* 11xx */ | 613 | #define SMS_GPIO_OUTPUT_DRIVING_11mA 5 /* 11xx */ |
614 | #define SMS_GPIO_OUTPUT_DRIVING_14mA 6 /* 11xx */ | 614 | #define SMS_GPIO_OUTPUT_DRIVING_14mA 6 /* 11xx */ |
615 | #undef SMS_GPIO_OUTPUT_DRIVING_16mA | 615 | #define SMS_GPIO_OUTPUT_DRIVING_16mA 7 /* 11xx */ |
616 | #define SMS_GPIO_OUTPUT_DRIVING_16mA 7 /* 11xx */ | ||
617 | u8 OutputDriving; | 616 | u8 OutputDriving; |
618 | }; | 617 | }; |
619 | 618 | ||