Skip to content

Commit

Permalink
[SPARC]: Define minimal struct dev_archdata, similarly to sparc64.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 21, 2007
1 parent c73fcc8 commit e865f3e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion include/asm-sparc/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,17 @@
*
* This file is released under the GPLv2
*/
#include <asm-generic/device.h>
#ifndef _ASM_SPARC_DEVICE_H
#define _ASM_SPARC_DEVICE_H

struct device_node;
struct of_device;

struct dev_archdata {
struct device_node *prom_node;
struct of_device *op;
};

#endif /* _ASM_SPARC_DEVICE_H */


0 comments on commit e865f3e

Please sign in to comment.