projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
global: Move remaining CONFIG_SYS_* to CFG_SYS_*
[platform/kernel/u-boot.git]
/
drivers
/
spi
/
mscc_bb_spi.c
diff --git
a/drivers/spi/mscc_bb_spi.c
b/drivers/spi/mscc_bb_spi.c
index
0454410
..
2a01ea0
100644
(file)
--- a/
drivers/spi/mscc_bb_spi.c
+++ b/
drivers/spi/mscc_bb_spi.c
@@
-11,7
+11,6
@@
#include <log.h>
#include <malloc.h>
#include <spi.h>
#include <log.h>
#include <malloc.h>
#include <spi.h>
-#include <dm.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <linux/bitops.h>
@@
-118,7
+117,7
@@
int mscc_bb_spi_xfer(struct udevice *dev, unsigned int bitlen,
const void *dout, void *din, unsigned long flags)
{
struct udevice *bus = dev_get_parent(dev);
const void *dout, void *din, unsigned long flags)
{
struct udevice *bus = dev_get_parent(dev);
- struct dm_spi_slave_plat
data *plat = dev_get_parent_platdata
(dev);
+ struct dm_spi_slave_plat
*plat = dev_get_parent_plat
(dev);
struct mscc_bb_priv *priv = dev_get_priv(bus);
u32 i, count;
const u8 *txd = dout;
struct mscc_bb_priv *priv = dev_get_priv(bus);
u32 i, count;
const u8 *txd = dout;
@@
-233,6
+232,6
@@
U_BOOT_DRIVER(mscc_bb) = {
.id = UCLASS_SPI,
.of_match = mscc_bb_ids,
.ops = &mscc_bb_ops,
.id = UCLASS_SPI,
.of_match = mscc_bb_ids,
.ops = &mscc_bb_ops,
- .priv_auto
_alloc_size
= sizeof(struct mscc_bb_priv),
+ .priv_auto
= sizeof(struct mscc_bb_priv),
.probe = mscc_bb_spi_probe,
};
.probe = mscc_bb_spi_probe,
};