Modules: only add drivers/ direcory if needed
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jan 2007 19:50:02 +0000 (11:50 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:12 +0000 (10:37 -0800)
commitfe480a2675ed236af396597d9f05245c7bbd0149
tree1320b12250fd7ff8b642cc205587c7d0cbf6d9bb
parentf30c53a873d0d227493197064b8886af2d57bbd6
Modules: only add drivers/ direcory if needed

This changes the module core to only create the drivers/ directory if we
are going to put something in it.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/module.c
kernel/params.c