Skip to content
Permalink
Browse files

usb: Add Kconfig template for DEVICE_COUNT

DEVICE_COUNT for some USB classes means how many instances of the
class can be supported by USB stack.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information...
finikorg authored and nashif committed Feb 12, 2019
1 parent cdc2917 commit e79e4d9f1f4c21c99aacb466175d6ba414e237b9
Showing with 13 additions and 0 deletions.
  1. +13 −0 subsys/usb/class/Kconfig.template.composite_device_number
@@ -0,0 +1,13 @@
# Kconfig template file for setting device count for
# various USB classes.
#
# Copyright (c) 2019 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#

config $(module)_DEVICE_COUNT
int "Number of $(module) Devices"
default $(default-count)
help
Number of instances of this USB Device class.

0 comments on commit e79e4d9

Please sign in to comment.
You can’t perform that action at this time.