]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
libata: s/ata_id_removeable()/ata_id_removable()/
authorNicholas Krause <xerofoify@gmail.com>
Mon, 22 Dec 2014 03:36:37 +0000 (22:36 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 25 Dec 2014 20:27:16 +0000 (15:27 -0500)
Changes the spelling typos of removeable to removable where
ata_id_removeable is defined in ata.h and called in libata-scsi.c
respectively.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c
include/linux/ata.h

index e364e86e84d75b7d4ec8f18bba0eb4fc2b21a43c..7659d6468303a7cc284792e65596529ca75b8637 100644 (file)
@@ -1995,8 +1995,8 @@ static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf)
 
        VPRINTK("ENTER\n");
 
-       /* set scsi removeable (RMB) bit per ata bit */
-       if (ata_id_removeable(args->id))
+       /* set scsi removable (RMB) bit per ata bit */
+       if (ata_id_removable(args->id))
                hdr[1] |= (1 << 7);
 
        if (args->dev->class == ATA_DEV_ZAC) {
index f2f4d8da97c00ed1def998c40b9642cb2d159106..1648026e06b4d1755e5fae46066e6265180829fb 100644 (file)
@@ -503,7 +503,7 @@ struct ata_bmdma_prd {
 #define ata_id_has_dma(id)     ((id)[ATA_ID_CAPABILITY] & (1 << 8))
 #define ata_id_has_ncq(id)     ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8))
 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1)
-#define ata_id_removeable(id)  ((id)[ATA_ID_CONFIG] & (1 << 7))
+#define ata_id_removable(id)   ((id)[ATA_ID_CONFIG] & (1 << 7))
 #define ata_id_has_atapi_AN(id)        \
        ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \
          ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \