mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
ide: remove ata_nsector_t, ata_data_t and atapi_bcount_t
Remove ata_nsector_t, ata_data_t (unused) and atapi_bcount_t. While at it: * replace 'HWIF(drive)' by 'hwif' Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
e5f9f5a89a
commit
790d123989
5 changed files with 65 additions and 79 deletions
|
|
@ -315,26 +315,6 @@ typedef union {
|
|||
} b;
|
||||
} special_t;
|
||||
|
||||
/*
|
||||
* ATA DATA Register Special.
|
||||
* ATA NSECTOR Count Register().
|
||||
* ATAPI Byte Count Register.
|
||||
*/
|
||||
typedef union {
|
||||
unsigned all :16;
|
||||
struct {
|
||||
#if defined(__LITTLE_ENDIAN_BITFIELD)
|
||||
unsigned low :8; /* LSB */
|
||||
unsigned high :8; /* MSB */
|
||||
#elif defined(__BIG_ENDIAN_BITFIELD)
|
||||
unsigned high :8; /* MSB */
|
||||
unsigned low :8; /* LSB */
|
||||
#else
|
||||
#error "Please fix <asm/byteorder.h>"
|
||||
#endif
|
||||
} b;
|
||||
} ata_nsector_t, ata_data_t, atapi_bcount_t;
|
||||
|
||||
/*
|
||||
* ATA-IDE Select Register, aka Device-Head
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue