From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755279AbcARNmk (ORCPT ); Mon, 18 Jan 2016 08:42:40 -0500 Received: from mail-am1on0126.outbound.protection.outlook.com ([157.56.112.126]:19534 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754904AbcARNmi convert rfc822-to-8bit (ORCPT ); Mon, 18 Jan 2016 08:42:38 -0500 From: "Gujulan Elango, Hari Prasath (H.)" To: "gregkh@linuxfoundation.org" , "johnny.kim@atmel.com" , "austin.shin@atmel.com" , "chris.park@atmel.com" , "tony.cho@atmel.com" , "glen.lee@atmel.com" , "leo.kim@atmel.com" CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "linux-wireless@vger.kernel.org" Subject: [PATCH] staging: wilc1000: Move Macro definition Thread-Topic: [PATCH] staging: wilc1000: Move Macro definition Thread-Index: AQHRUfYW1EtAP3sxpUqH+W9IhE2eHw== Date: Mon, 18 Jan 2016 13:42:35 +0000 Message-ID: <20160118134339.GA16263@IND12F0122> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hgujulan@visteon.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.164.116] x-microsoft-exchange-diagnostics: 1;DB5PR06MB1575;5:tVyKHyrDOR7XcWTEwSINyfw7ctmk7xeBtHBKZ6cOk9xS+WuHVh2uFUB6rk33mtpqZ/dhQRv7mTd3VhfDI40JnAh0J2sFyncDHUhsRMEWp0hV121DMY9vA6YmLH79roJzuFj6md950yUbyaRQNFh/4w==;24:YhCuipTERJcgq0CuYg4VnU+kEajNVirsUH9ey7jRTNODe4U2Dan/wyWHRkA+4ktu3/cBzaM9Dqq5RN17BgEylJ0TJ1YqKS9DsscjulTIBF8= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR06MB1575; x-ms-office365-filtering-correlation-id: 55a6e9ad-2129-4961-0f3b-08d3200d3928 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(208512329853888); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:DB5PR06MB1575;BCL:0;PCL:0;RULEID:;SRVR:DB5PR06MB1575; x-forefront-prvs: 08252193F3 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(19580405001)(66066001)(106356001)(105586002)(5001960100002)(19580395003)(40100003)(33716001)(5002640100001)(10400500002)(106116001)(81156007)(5001770100001)(189998001)(6116002)(54356999)(3846002)(2860100001)(101416001)(5004730100002)(33656002)(102836003)(92566002)(86362001)(97736004)(1076002)(11100500001)(87936001)(50986999)(586003)(1220700001)(4326007)(2201001)(229853001)(2906002)(1096002)(122556002)(5008740100001)(2501003)(2900100001)(77096005);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR06MB1575;H:DB5PR06MB1573.eurprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <435ECD2751D75146BF36E10912B8FE08@eurprd06.prod.outlook.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2016 13:42:35.2462 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR06MB1575 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hari Prasath Gujulan Elango This patch move's a macro defined in the middle of a structure definition to make it more readable. Signed-off-by: Hari Prasath Gujulan Elango --- drivers/staging/wilc1000/wilc_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index e961b50..875ea68 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -29,12 +29,12 @@ static const struct sdio_device_id wilc_sdio_ids[] = { }; #define WILC_SDIO_BLOCK_SIZE 512 +#define MAX_NUN_INT_THRPT_ENH2 (5) /* Max num interrupts allowed in registers 0xf7, 0xf8 */ typedef struct { bool irq_gpio; u32 block_size; int nint; -#define MAX_NUN_INT_THRPT_ENH2 (5) /* Max num interrupts allowed in registers 0xf7, 0xf8 */ int has_thrpt_enh3; } wilc_sdio_t; -- 1.9.1