Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp662890pxb; Wed, 29 Sep 2021 07:14:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmuevLBhhf5+DQqCsIVcNk4Jz8SLrO9BJHqAln2pN7KI1VoonK6iNBFr5ge2GyMe0/uwro X-Received: by 2002:a17:90b:4f4d:: with SMTP id pj13mr6800350pjb.47.1632924873314; Wed, 29 Sep 2021 07:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632924873; cv=none; d=google.com; s=arc-20160816; b=mD/bbNPBYgfyQY6p6ftVhxGfgq7xESqInzBSpobzq2Xu6uHzrb2C+OsZ/4eC3tM03p ldMQyOg1A3XY2TptPw2M+C6zNw/ydU0cJRwj+Xnj1PvwRlNoLd/f6scFYI1aRjNs8Avb docLFn5d30/yUYaVRG14z8IS4Tz5BLo35T2Dn/kij092f3OqcpIwZ1JWQfvW6Kf6xinl 2nUUQFG7e1+FH+N6h+576ZjohIdqCVjMCSCA6kVNXAROkyLF5fbSiMWPVBfagpnfRFt+ UQkbTgrYVQGSgrvJ+yC82iBvkyrEP33vRWRNVTXKpkCE4mKvww46q6r/YTujVA7Ma2W9 MYYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZIfPPR8Y6M8QrZI7k+3qFY1C12hTObWlSZ7JR9t1bmI=; b=Vuj9TSdpcn9J8LzHWqaerVxVHVMyP53vUb/dl/poob8EtuAdMeo0JADV2v60LFVB4l 8a2iFpJQzD2encXqQzDR2YnZB0SjFawXeUdWd5UhelwmlcIpO1xAIubQMOyyv1vMWsCk 6TD0KRy530o8z+WmgoT4JLKDKt2FUQ0pCF+IHvvsxcwZhZE7Kv5IqvgUm/E244K09mjl oqurBtbHDU5UaiBLao6b+fzw7PWIZMGy9Hehni7UjlADSeRDTWSiyPpi61F3kRI0/Li/ QTTzQ9HBmlpivMT+IcufLJNUNkGIjlMtIh8oUDwI9Shu9/fogQULh2PeU7Z0LcQIm0oX TdoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EJda13FM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si3010378pgv.624.2021.09.29.07.14.17; Wed, 29 Sep 2021 07:14:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EJda13FM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344092AbhI2NXu (ORCPT + 99 others); Wed, 29 Sep 2021 09:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344061AbhI2NXt (ORCPT ); Wed, 29 Sep 2021 09:23:49 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD539C06161C; Wed, 29 Sep 2021 06:22:08 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id i4so10774215lfv.4; Wed, 29 Sep 2021 06:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZIfPPR8Y6M8QrZI7k+3qFY1C12hTObWlSZ7JR9t1bmI=; b=EJda13FMU2yNPpbk/oPlQIjSYPvOZTbGShVXeUpjizmYGe2dgYBVx6y9ZrJXa6q0bf a0Nwomi2FNaq5epwxPxE0cJ41wRytWSZ1oHD/WRtHplIbXoV7VYXWvFYmQGAUmBBPawT xSrZRf4M4Klyu3aVe2zbTHriKXaCPdiWTKMhb1b8mTJbf/UA2yjYIsPKAPUMGPwD1sZj RLnJieZuXOJghL6u+BRROzigoEkrWOE+AfeZLN0q9+dur6v67AXwWIzaMcI9ajlz1zph wdCpCooz6wnFgvPGYqhKECChk35qBN7z2vGun0t6ZX/YFrEmOSslA9RLGPK1JgYUTtzQ kvcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZIfPPR8Y6M8QrZI7k+3qFY1C12hTObWlSZ7JR9t1bmI=; b=EWnTI3813lmaUrv89go2nA1PJCl5V3y4a9hXRn82bT1FWNk+H322hYk8FwVjDhNxQl 2J248EApvO0KSTNWA50lc9PbK03bQqVBsmwZfY6P8xpSOB37Ye/EH9VeIhO0MjzxCQWp KNSe6qT6pFRhSgxC9jM33tv20wkYzpP0YqNy1tOpH6hS3yqgy6g1SQDCeJ1S1Z8b4Rfh As4zudT6sFQOVU5XhUqU4xRvFiJQWwFUF1zhYrSQlSdwa9FZG3E8UWVzcqv/0vIfjLsD QiAamlylWkzIKT99Q4kMEK9IzjnQNXM06Comp6A9fLoJXIPSRJsl5w6osYy5niYqA8hS LMuA== X-Gm-Message-State: AOAM533mCebVoiB5qmMs1QqexQy/wyLoda2oW0dS+MI6dUi9CvFGICOi wVmxYk79pnWbhyaoNz8BfL0rtEvYlhc= X-Received: by 2002:a2e:a54d:: with SMTP id e13mr2233131ljn.159.1632921727113; Wed, 29 Sep 2021 06:22:07 -0700 (PDT) Received: from localhost.localdomain (h-98-128-228-193.NA.cust.bahnhof.se. [98.128.228.193]) by smtp.gmail.com with ESMTPSA id z10sm283695ljc.117.2021.09.29.06.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 06:22:06 -0700 (PDT) From: Rikard Falkeborn To: Greg Kroah-Hartman , Loic Poulain , Wei Yongjun Cc: Oliver Neukum , Tetsuo Handa , Junlin Yang , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Rikard Falkeborn Subject: [PATCH 0/2] usb: cdc-wdm: Fix config and constify Date: Wed, 29 Sep 2021 15:21:41 +0200 Message-Id: <20210929132143.36822-1-rikard.falkeborn@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes an wrong ifdef which caused a chunk of the code to never be compiled, regardless of config selected. While at it, constify a static struct full of function pointers. Rikard Falkeborn (2): usb: cdc-wdm: Fix check for WWAN usb: cdc-wdm: Constify static struct wwan_port_ops drivers/usb/class/cdc-wdm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.33.0