From patchwork Fri Jan 13 13:14:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 91413 Delivered-To: patches@linaro.org Received: by 10.182.3.34 with SMTP id 2csp131240obz; Fri, 13 Jan 2017 05:15:09 -0800 (PST) X-Received: by 10.46.69.139 with SMTP id s133mr7469787lja.56.1484313309357; Fri, 13 Jan 2017 05:15:09 -0800 (PST) Return-Path: Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com. [2a00:1450:4010:c07::231]) by mx.google.com with ESMTPS id h201si112342lfe.350.2017.01.13.05.15.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 05:15:09 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::231 as permitted sender) client-ip=2a00:1450:4010:c07::231; 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::231 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x231.google.com with SMTP id z134so33626709lff.3 for ; Fri, 13 Jan 2017 05:15:09 -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=DZcziKfkzlTAqNMT0t3X6AQSrgpWSuhcW+N0STgBuAc=; b=SYR5NLG//Wc2ms1cEOjMVx3DMyzvHJ/ZaaoY2T3YmZxAecFhX+HmUewNxPRH9ufmt1 0i8AAPwK+cNXAfTIvmeIH+KhazIDwFLsxrgnUMBmNi8Hoq/2tw+BUkK7PvGvvmXvKK9f rfnGh9SiJtJ8bXuXGLPZaQRQP91UANQNKVxno= 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=DZcziKfkzlTAqNMT0t3X6AQSrgpWSuhcW+N0STgBuAc=; b=UTnwMmj5cP04XQUpTL40nz010zc7aTgZLpcA3xZ6YWPvY5Bl0qso+1IgnEFG1E68F5 sEXKIMTnb0W5PuA6LTjuYh70ZmF8d0AaZGYm4ROLU7YZEL2s7jV2grg3FekOGlF9loqE mfYE62vcji6kcaWoETsf4Or7aUtivwv6OLtongX+6A5vBiyccPUCtt7wLRiDjCIR9Lm4 argX+wJQLleeMzX5yT4bApl4dYwWUcANKNIoeHmimeNXvHzTB7qcBy4mPmHQDQkq1Tds E7SG7tlCGBIoQEtuQ3nNvRSjy6ITv3s1/tQDkqQdCQl4lrU8AGTL5FWRsvnl+mdXUpMA YwGQ== X-Gm-Message-State: AIkVDXJNghBzEJPO3eh3gFDDoSYddsotl/znQFwGmjFWNtMgXB2cW5xgnGK+mSG0DhPHPwzU0uE= X-Received: by 10.25.79.66 with SMTP id a2mr7878442lfk.58.1484313308938; Fri, 13 Jan 2017 05:15:08 -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 l67sm2931452lfb.15.2017.01.13.05.15.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jan 2017 05:15:04 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH v3 10/15] mmc: core: Remove unused struct _mmc_csd from public mmc.h header Date: Fri, 13 Jan 2017 14:14:11 +0100 Message-Id: <1484313256-25993-11-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484313256-25993-1-git-send-email-ulf.hansson@linaro.org> References: <1484313256-25993-1-git-send-email-ulf.hansson@linaro.org> Signed-off-by: Ulf Hansson Reviewed-by: Linus Walleij --- include/linux/mmc/mmc.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) -- 1.9.1 Reviewed-by: Shawn Lin 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 */