mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
ide: remove SECTOR_WORDS define
Just use SECTOR_SIZE instead. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
8185d5aa93
commit
151a670186
6 changed files with 10 additions and 8 deletions
|
|
@ -126,7 +126,7 @@ struct ide_io_ports {
|
|||
#define PARTN_BITS 6 /* number of minor dev bits for partitions */
|
||||
#define MAX_DRIVES 2 /* per interface; 2 assumed by lots of code */
|
||||
#define SECTOR_SIZE 512
|
||||
#define SECTOR_WORDS (SECTOR_SIZE / 4) /* number of 32bit words per sector */
|
||||
|
||||
#define IDE_LARGE_SEEK(b1,b2,t) (((b1) > (b2) + (t)) || ((b2) > (b1) + (t)))
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue