From patchwork Wed Jan 11 11:51:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 90856 Delivered-To: patches@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1081711qgi; Wed, 11 Jan 2017 03:51:52 -0800 (PST) X-Received: by 10.46.14.10 with SMTP id 10mr3304321ljo.58.1484135512317; Wed, 11 Jan 2017 03:51:52 -0800 (PST) Return-Path: Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com. [2a00:1450:4010:c07::232]) by mx.google.com with ESMTPS id r192si3359684lfr.113.2017.01.11.03.51.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 03:51:52 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::232 as permitted sender) client-ip=2a00:1450:4010:c07::232; 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::232 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-x232.google.com with SMTP id o140so80122042lff.3 for ; Wed, 11 Jan 2017 03:51:52 -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=YgCYgoZQ4ORC8bDlEV5SntMPEjVdSmD5EF/xSkM5DKQptKLeqtQUSwA7xqboNd+pba BmhbCbRhMrfLWRLFeueKjCvHVcjn7mNXAsNLJuTexsHTtVVsSuuHpMor+L/ddRzAOuJb 2KmkZV6B89O/LpXigH7hf9fdIYGzyyloZfcA8= 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=jvzuD9QCotKff1s1kEXfp7vPp28CH6XaQ4tIq8fpBAo9wA9WjwmS+YNT6ANNhQK+U+ 3f/j+2VcFF1Kf3x46WnT81vVjH/TPc1BaJlUtLGTlguljQWVM0eD9BkE3b1ujeHoYz+U 6+b9oL6UxlsFWFjO+aiWFqVwUuApG6FuXt18aqZYkS02C4zhXc1dyyEjA6mGIcZNKrS7 AMi0qr0xDuE2We/UNzZfMJLdriV/SkEBpgABAQ0m22CHGWjwIK1IbTQ61+clgNed6Ar/ lybp1kt4usdWhUKBMbPzoJkys2uK1wz+OEIFdLu1fCfiIlzokdFvpsoF+BrS1KH899GA +ycQ== X-Gm-Message-State: AIkVDXJ0PAeb13x4xuivG5NYqPEqxiYMw2dt7DCU5snsuGdFpIG4vQXsMnYCjH4r9tg3Zh1mJBw= X-Received: by 10.46.6.17 with SMTP id 17mr3356006ljg.14.1484135511937; Wed, 11 Jan 2017 03:51:51 -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 87sm958768lft.27.2017.01.11.03.51.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jan 2017 03:51:50 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH v2 07/12] mmc: core: Remove unused struct _mmc_csd from public mmc.h header Date: Wed, 11 Jan 2017 12:51:13 +0100 Message-Id: <1484135478-2077-8-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484135478-2077-1-git-send-email-ulf.hansson@linaro.org> References: <1484135478-2077-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 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 */