Skip to content

Commit

Permalink
of: remove unused extern reference to devtree_lock
Browse files Browse the repository at this point in the history
Neither the powerpc nor the microblaze code use devtree_lock anymore.
Remove the extern reference.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Grant Likely committed Feb 14, 2010
1 parent 7c7b60c commit 22d5579
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/microblaze/include/asm/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ extern struct device_node *of_chosen;

#define HAVE_ARCH_DEVTREE_FIXUPS

extern rwlock_t devtree_lock; /* temporary while merging */

/* Other Prototypes */
extern int early_uartlite_console(void);

Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ int __initdata iommu_force_on;
unsigned long tce_alloc_start, tce_alloc_end;
#endif

extern rwlock_t devtree_lock; /* temporary while merging */

/* export that to outside world */
struct device_node *of_chosen;

Expand Down

0 comments on commit 22d5579

Please sign in to comment.