summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-01-17 12:49:32 +0000
committerPeter Robinson <pbrobinson@gmail.com>2016-01-17 12:49:32 +0000
commitaa2efe74888fe7fbe72278718ee2788616ec41d3 (patch)
tree3ef1167025b075d702063ae84d2c45acbbd66413
parentb07458db329dd1757dec813843568c5bf70abde3 (diff)
downloadkernel-aa2efe74888fe7fbe72278718ee2788616ec41d3.tar.gz
kernel-aa2efe74888fe7fbe72278718ee2788616ec41d3.tar.xz
kernel-aa2efe74888fe7fbe72278718ee2788616ec41d3.zip
filters: filter char drivers mwave pcmcia
-rwxr-xr-xfilter-modules.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/filter-modules.sh b/filter-modules.sh
index 7f14011f4..ef86416d1 100755
--- a/filter-modules.sh
+++ b/filter-modules.sh
@@ -14,7 +14,9 @@
# listed here.
# Set the default dirs/modules to filter out
-driverdirs="atm auxdisplay bcma bluetooth firewire fmc iio infiniband isdn leds media memstick mfd mmc mtd mwave nfc ntb pcmcia platform power ssb staging tty uio uwb w1"
+driverdirs="atm auxdisplay bcma bluetooth firewire fmc iio infiniband isdn leds media memstick mfd mmc mtd nfc ntb pcmcia platform power ssb staging tty uio uwb w1"
+
+chardrvs="mwave pcmcia"
netdrvs="appletalk can dsa hamradio ieee802154 irda ppp slip usb wireless"
@@ -83,6 +85,12 @@ do
filter_dir $1 drivers/net/${netdrv}
done
+# Filter the char drivers
+for char in ${chardrvs}
+do
+ filter_dir $1 drivers/char/${input}
+done
+
# Filter the ethernet drivers
for eth in ${ethdrvs}
do