Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp78590ybv; Tue, 18 Feb 2020 18:10:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwT3Z1Tq0IfNjW8f9dUiFA7RvfiK1A8H42DO3MnUoBoZiHPdT1C9cUfnlbSlIh8dOfAFRvT X-Received: by 2002:aca:534f:: with SMTP id h76mr3327239oib.23.1582078256816; Tue, 18 Feb 2020 18:10:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582078256; cv=none; d=google.com; s=arc-20160816; b=bHJ4Jviwl8drqLhrTnRj6Oe0t0wWM4CdK3MVVHXsKOw7GWDq84lVjADyrmbSPvDVvo 1atBXIQmV+DjixJG+KYgjHIIpQ5Dr9U8TZSADCpRnz31lyIoGwnBVf6ZtB7Z3bd7mZ6X H9bILRl4BzgmlX9ZUfJdbBwsDo879WAa4nYVgqjz2vNme92Ikg4wbt0EVOe4RQCbFtMS zZgmAJpjQu43mfmqLpJd/3+zTDfOvvWqUH4rE9wDyMCNOxXjW4+qiBgUG1+NcB3x1zg4 tUxq84Y2j7jCaCAs2e2QFenGZU3JbevZFCaoxKxjLCg8UVPfnCVgFTL0BlO2yBRVfwNx MUGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0GGyHWDXgNa0q8vA4vNU5LvM0X7qLDEW7k6yfDyFWXE=; b=QMv6oowZYYjKLe5MXgl1AoVAn0S/5h/bHt5nJ6QPXJhMoeS9ciTzzFeDDWJzYDyxSH vbp9gv5VV/07XrbRH1N0sdWc1piEfMO297LzScVAsZGNKxTvFje6Dc1HrLgg5twxA31L OBah5dj0B9VeSLDVb/NLgtYSYMLwdU5/hUqwIWcf9RMS0Nu2pqPO781g52TJGyfafv44 MWs8xS9gVuwO6lQXHigZ1mkKorfYk8oYKDspCU+enYDuZ1AboszpWfIKyjcSnCU92pJz xnhsPwSsMRLyyU29NaPQLbmbE49LTvkCbopCtXEozzw9sYx0lkO55jCGOEZQQyc4Hzyj iwxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kEYGXX+H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si331601otp.285.2020.02.18.18.10.45; Tue, 18 Feb 2020 18:10:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kEYGXX+H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728116AbgBSCIg (ORCPT + 99 others); Tue, 18 Feb 2020 21:08:36 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:1395 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726761AbgBSCIe (ORCPT ); Tue, 18 Feb 2020 21:08:34 -0500 X-UUID: e846100145ac4e5f8e9f4c44807a9037-20200219 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=0GGyHWDXgNa0q8vA4vNU5LvM0X7qLDEW7k6yfDyFWXE=; b=kEYGXX+HfY6oTSOXjopSrYqJXyd5psNhjudw/Vf7tkU5ivDHYstaadgJRSwNY/scGjO9o6fAcTz66EQIsag36gHaXHO8kdLH/387VmBg6utnmXvremxJ2iV3l7ETWxxQPD2FzLYLjQUZD9/zmek6DtuKCvP9Idt46lRkl3RKNls=; X-UUID: e846100145ac4e5f8e9f4c44807a9037-20200219 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1952911459; Wed, 19 Feb 2020 10:08:24 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 19 Feb 2020 10:06:39 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 19 Feb 2020 10:07:51 +0800 From: To: CC: , , , , , Light Hsieh Subject: [PATCH v2 1/2] pinctrl: make MediaTek pinctrl v2 driver ready for buidling loadable module Date: Wed, 19 Feb 2020 10:08:21 +0800 Message-ID: <1582078102-26332-1-git-send-email-light.hsieh@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KSW4gdGhlIGZ1 dHVyZSB3ZSB3YW50IHRvIGJlIGFibGUgdG8gYnVpbGQgdGhlIE1lZGlhVGVrIHBpbmN0cmwgZHJp dmVyLA0KYmFzZWQgb24gcGFyaXMsIGFzIGtlcm5lbCBtb2R1bGUuIFRoaXMgcGF0Y2ggYWxsb3dz IHBpbmN0cmwtcGFyaXMuYywgdGhlDQpleHRlcm5hbCBpbnRlc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