diff options
author | Phil Blundell <philb@gnu.org> | 2009-11-18 10:21:38 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-11-18 10:21:38 +0000 |
commit | 5a8ab317885f234a411dce0ef1c76ef74583b299 (patch) | |
tree | ee42fef6b1160a7c7f31e011e0e31b3ea02c52be /recipes/usb-gadget-mode | |
parent | 4592f35f2ece5e0d1f161b8827b828e73a74597d (diff) |
remove extraneous quoting around MODULE_OPTIONS; patch from Tasslehoff Kjappfot <tasskjapp@gmail.com>
Diffstat (limited to 'recipes/usb-gadget-mode')
-rwxr-xr-x | recipes/usb-gadget-mode/files/usb-gadget | 20 | ||||
-rw-r--r-- | recipes/usb-gadget-mode/usb-gadget-mode.bb | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/recipes/usb-gadget-mode/files/usb-gadget b/recipes/usb-gadget-mode/files/usb-gadget index 3f25edccd4..8da88ad009 100755 --- a/recipes/usb-gadget-mode/files/usb-gadget +++ b/recipes/usb-gadget-mode/files/usb-gadget @@ -23,16 +23,16 @@ go() { test -e "$CONF_FILE" && . "$CONF_FILE" case "$USB_MODE" in - networking) setup_usb g_ether "$MODULE_OPTIONS" ;; - zero) setup_usb g_zero "$MODULE_OPTIONS" ;; - midi) setup_usb g_midi "$MODULE_OPTIONS" ;; - printer) setup_usb g_printer "$MODULE_OPTIONS" ;; - gadgetfs) setup_usb gadgetfs "$MODULE_OPTIONS" ;; - composite) setup_usb g_cdc "$MODULE_OPTIONS" ;; - serial) setup_usb g_serial "$MODULE_OPTIONS" ;; - storage) setup_usb g_file_storage "$MODULE_OPTIONS" ;; + networking) setup_usb g_ether ;; + zero) setup_usb g_zero ;; + midi) setup_usb g_midi ;; + printer) setup_usb g_printer ;; + gadgetfs) setup_usb gadgetfs ;; + composite) setup_usb g_cdc ;; + serial) setup_usb g_serial ;; + storage) setup_usb g_file_storage ;; hostmode) unload_usb_gadgets - setup_usb ohci_hcd "$MODULE_OPTIONS" ;; + setup_usb ohci_hcd ;; none) unload_usb_gadgets ;; esac @@ -44,7 +44,7 @@ setup_usb() { then unload_usb_gadgets echo "Loading [$1]" - modprobe "$1" "$MODULE_OPTIONS" + modprobe "$1" $MODULE_OPTIONS else echo "Already loaded: [$1]" fi diff --git a/recipes/usb-gadget-mode/usb-gadget-mode.bb b/recipes/usb-gadget-mode/usb-gadget-mode.bb index 8abb319405..a01377aa36 100644 --- a/recipes/usb-gadget-mode/usb-gadget-mode.bb +++ b/recipes/usb-gadget-mode/usb-gadget-mode.bb @@ -9,7 +9,7 @@ DESCRIPTION = "Manage the default USB gadget mode" SECTION = "console/network" LICENSE = "GPL" PV = "0.0.2" -PR = "r4" +PR = "r5" SRC_URI = "\ file://usb-gadget.conf \ |