|
@@ -21,6 +21,7 @@
|
|
#include <linux/pm.h>
|
|
#include <linux/pm.h>
|
|
#include <asm/semaphore.h>
|
|
#include <asm/semaphore.h>
|
|
#include <asm/atomic.h>
|
|
#include <asm/atomic.h>
|
|
|
|
+#include <asm/device.h>
|
|
|
|
|
|
#define DEVICE_NAME_SIZE 50
|
|
#define DEVICE_NAME_SIZE 50
|
|
#define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */
|
|
#define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */
|
|
@@ -383,6 +384,8 @@ struct device {
|
|
|
|
|
|
struct dma_coherent_mem *dma_mem; /* internal for coherent mem
|
|
struct dma_coherent_mem *dma_mem; /* internal for coherent mem
|
|
override */
|
|
override */
|
|
|
|
+ /* arch specific additions */
|
|
|
|
+ struct dev_archdata archdata;
|
|
|
|
|
|
/* class_device migration path */
|
|
/* class_device migration path */
|
|
struct list_head node;
|
|
struct list_head node;
|