]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: airoha: Fix typo in airoha_ppe_setup_tc_block_cb definition
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 9 Jan 2026 09:29:06 +0000 (10:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Jan 2026 03:17:24 +0000 (19:17 -0800)
Fix Typo in airoha_ppe_dev_setup_tc_block_cb routine definition when
CONFIG_NET_AIROHA is not enabled.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601090517.Fj6v501r-lkp@intel.com/
Fixes: f45fc18b6de04 ("net: airoha: Add airoha_ppe_dev struct definition")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260109-airoha_ppe_dev_setup_tc_block_cb-typo-v1-1-282e8834a9f9@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/soc/airoha/airoha_offload.h

index ab64ecdf39a06dd1ceb461fafc5e1437edb6141c..d01ef4a6b3d7cef2e8dd0cbaf183fd6cc040c45b 100644 (file)
@@ -52,8 +52,8 @@ static inline void airoha_ppe_put_dev(struct airoha_ppe_dev *dev)
 {
 }
 
-static inline int airoha_ppe_setup_tc_block_cb(struct airoha_ppe_dev *dev,
-                                              void *type_data)
+static inline int airoha_ppe_dev_setup_tc_block_cb(struct airoha_ppe_dev *dev,
+                                                  void *type_data)
 {
        return -EOPNOTSUPP;
 }