From patchwork Fri Dec 30 12:47:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 89350 Delivered-To: patches@linaro.org Received: by 10.140.20.101 with SMTP id 92csp6424798qgi; Fri, 30 Dec 2016 04:48:33 -0800 (PST) X-Received: by 10.25.39.211 with SMTP id n202mr16626581lfn.90.1483102113230; Fri, 30 Dec 2016 04:48:33 -0800 (PST) Return-Path: Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com. [2a00:1450:4010:c07::236]) by mx.google.com with ESMTPS id y74si32996470lfa.292.2016.12.30.04.48.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2016 04:48:33 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::236 as permitted sender) client-ip=2a00:1450:4010:c07::236; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::236 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x236.google.com with SMTP id c13so236672029lfg.0 for ; Fri, 30 Dec 2016 04:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o3JxC8iABXNL1wJtMHrbgR/qPLxoPM70Ej7JTHLfPjU=; b=JF2tqeoNzB3MlztaLO99AbhSaCZrTBRXpoHWhzMNVxr3B+AadXEIyvlZNpHK90IzIt Z+zyPpXkC/9IB/8lhlykhbJX9Nn+9wVRsFvdIt5Ed+d8S20h9CCOfe8dNgJqH7UBTL7B YNQmTw60PlUR5R9C+Tvf0/qkIRlXlMMoY25OQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o3JxC8iABXNL1wJtMHrbgR/qPLxoPM70Ej7JTHLfPjU=; b=o/DD0hJk0HWsfL36KqOCV3UaP5bhLSZQFlAF4kQPwsfQyvl9ooL+aFjxS3Fwy5kNrU bVC16h59PpLX4riqG9myunadUFYpl4bC0/ZpPGGvlE9VlPvgC5sW/eCGUNXXa56vlMOS EoER0K5XEoXR0qMNujVCDErIIEcJ/C2KjRK6FJ9WybV/6cqLl6UvnNA1Wjx5wwTi16t5 aQ7f+SW/5konLG3rWcur1JiARa4fWUr693ZS4ec3RU36eWF+1jnfuIeBQ2L4k7XZXwCs 9ViEyMC+NeWWvNBR7NJzO8LxmLgkyB42/mhjXW2Dk3jLQeRiRhav4ftXafTu38iXU/r5 osHw== X-Gm-Message-State: AIkVDXKh8AB2Xl6w4vOvQhTgofZeSKj0z47wsxFZw1iixdQxWG8GFnnANwn2n2VMiL7ZtAmGyEA= X-Received: by 10.46.83.74 with SMTP id t10mr2688250ljd.20.1483102112855; Fri, 30 Dec 2016 04:48:32 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-155-4-221-67.na.cust.bahnhof.se. [155.4.221.67]) by smtp.gmail.com with ESMTPSA id a79sm7450069ljb.46.2016.12.30.04.48.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 04:48:31 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH 16/21] mmc: core: Remove unused struct _mmc_csd from public mmc.h header Date: Fri, 30 Dec 2016 13:47:29 +0100 Message-Id: <1483102054-1752-17-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483102054-1752-1-git-send-email-ulf.hansson@linaro.org> References: <1483102054-1752-1-git-send-email-ulf.hansson@linaro.org> Signed-off-by: Ulf Hansson --- include/linux/mmc/mmc.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) -- 1.9.1 Reviewed-by: Linus Walleij diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index 8f78543..7406d9b 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h @@ -184,50 +184,6 @@ static inline bool mmc_op_multi(u32 opcode) #define R2_SPI_OUT_OF_RANGE (1 << 15) /* or CSD overwrite */ #define R2_SPI_CSD_OVERWRITE R2_SPI_OUT_OF_RANGE -/* These are unpacked versions of the actual responses */ - -struct _mmc_csd { - u8 csd_structure; - u8 spec_vers; - u8 taac; - u8 nsac; - u8 tran_speed; - u16 ccc; - u8 read_bl_len; - u8 read_bl_partial; - u8 write_blk_misalign; - u8 read_blk_misalign; - u8 dsr_imp; - u16 c_size; - u8 vdd_r_curr_min; - u8 vdd_r_curr_max; - u8 vdd_w_curr_min; - u8 vdd_w_curr_max; - u8 c_size_mult; - union { - struct { /* MMC system specification version 3.1 */ - u8 erase_grp_size; - u8 erase_grp_mult; - } v31; - struct { /* MMC system specification version 2.2 */ - u8 sector_size; - u8 erase_grp_size; - } v22; - } erase; - u8 wp_grp_size; - u8 wp_grp_enable; - u8 default_ecc; - u8 r2w_factor; - u8 write_bl_len; - u8 write_bl_partial; - u8 file_format_grp; - u8 copy; - u8 perm_write_protect; - u8 tmp_write_protect; - u8 file_format; - u8 ecc; -}; - /* * OCR bits are mostly in host.h */