aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/it821x.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 11:20:53 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 11:20:53 -0500
commit9892ec5497af1ec38c46974b5a370ba11c636b19 (patch)
tree53849e2268621888be3b8d3c911b407a5c9bcbf1 /drivers/ide/it821x.c
parentc0ae50234771684ae0cbac5dfb70e1a09c22aa89 (diff)
ide: remove 'byte' typedef
Just use u8 instead, also s/__u8/u8/ in ide-cd.h while at it. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/it821x.c')
-rw-r--r--drivers/ide/it821x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/it821x.c b/drivers/ide/it821x.c
index ef004089761b..a34f3e19b4a4 100644
--- a/drivers/ide/it821x.c
+++ b/drivers/ide/it821x.c
@@ -279,7 +279,7 @@ static void it821x_set_pio_mode(ide_drive_t *drive, const u8 pio)
279 * the shared MWDMA/PIO timing register. 279 * the shared MWDMA/PIO timing register.
280 */ 280 */
281 281
282static void it821x_tune_mwdma (ide_drive_t *drive, byte mode_wanted) 282static void it821x_tune_mwdma(ide_drive_t *drive, u8 mode_wanted)
283{ 283{
284 ide_hwif_t *hwif = drive->hwif; 284 ide_hwif_t *hwif = drive->hwif;
285 struct pci_dev *dev = to_pci_dev(hwif->dev); 285 struct pci_dev *dev = to_pci_dev(hwif->dev);
@@ -316,7 +316,7 @@ static void it821x_tune_mwdma (ide_drive_t *drive, byte mode_wanted)
316 * controller when doing UDMA modes in pass through. 316 * controller when doing UDMA modes in pass through.
317 */ 317 */
318 318
319static void it821x_tune_udma (ide_drive_t *drive, byte mode_wanted) 319static void it821x_tune_udma(ide_drive_t *drive, u8 mode_wanted)
320{ 320{
321 ide_hwif_t *hwif = drive->hwif; 321 ide_hwif_t *hwif = drive->hwif;
322 struct pci_dev *dev = to_pci_dev(hwif->dev); 322 struct pci_dev *dev = to_pci_dev(hwif->dev);