Skip to content

Commit

Permalink
sh: Defer to asm-generic/device.h.
Browse files Browse the repository at this point in the history
Now that the hwblk use cases have been ripped out, we can revert to
asm-generic/device.h for the device/platform device arch data structures.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 13, 2012
1 parent 2485a4b commit bfe75c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/sh/include/asm/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
*
* This file is released under the GPLv2
*/
#ifndef __ASM_SH_DEVICE_H
#define __ASM_SH_DEVICE_H

struct dev_archdata {
};
#include <asm-generic/device.h>

struct platform_device;
/* allocate contiguous memory chunk and fill in struct resource */
Expand All @@ -14,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev,

void plat_early_device_setup(void);

struct pdev_archdata {
};
#endif /* __ASM_SH_DEVICE_H */

0 comments on commit bfe75c7

Please sign in to comment.