Repository navigation
Commit 45b0907
[MTD] sysfs support should not depend on CONFIG_PROC_FS
Move the driver model init code out of the "#ifdef CONFIG_PROC_FS"
block.
Tested with both values of CONFIG_PROC_FS . Tested with CONFIG_MTD=m .
Issue was reported here: http://lkml.org/lkml/2009/4/4/107
Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>1 parent c451c7c commit 45b0907
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
596 | 598 | | |
597 | 599 | | |
598 | 600 | | |
| 601 | + | |
599 | 602 | | |
600 | 603 | | |
| 604 | + | |
601 | 605 | | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
605 | 609 | | |
| 610 | + | |
606 | 611 | | |
607 | 612 | | |
| 613 | + | |
608 | 614 | | |
609 | 615 | | |
610 | 616 | | |
611 | 617 | | |
612 | 618 | | |
613 | 619 | | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | 620 | | |
618 | 621 | | |
619 | 622 | | |
0 commit comments