|
@@ -261,6 +261,7 @@ struct fsl_ssi_private {
|
|
|
struct fsl_ssi_dbg dbg_stats;
|
|
|
|
|
|
const struct fsl_ssi_soc_data *soc;
|
|
|
+ struct device *dev;
|
|
|
};
|
|
|
|
|
|
/*
|
|
@@ -1404,6 +1405,7 @@ static int fsl_ssi_probe(struct platform_device *pdev)
|
|
|
}
|
|
|
|
|
|
ssi_private->soc = of_id->data;
|
|
|
+ ssi_private->dev = &pdev->dev;
|
|
|
|
|
|
sprop = of_get_property(np, "fsl,mode", NULL);
|
|
|
if (sprop) {
|