Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/27007
Change subject: superio/smsc/smscsuperio: Get rid of device_t ......................................................................
superio/smsc/smscsuperio: Get rid of device_t
Change-Id: I06aaad25d34c6cf24434dac74bcf703f102a3df3 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/superio/winbond/wpcd376i/early_serial.c M src/superio/winbond/wpcd376i/superio.c M src/superio/winbond/wpcd376i/wpcd376i.h 3 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/27007/1
diff --git a/src/superio/winbond/wpcd376i/early_serial.c b/src/superio/winbond/wpcd376i/early_serial.c index 4845dd6..115e097 100644 --- a/src/superio/winbond/wpcd376i/early_serial.c +++ b/src/superio/winbond/wpcd376i/early_serial.c @@ -21,7 +21,7 @@ #include <device/pnp_def.h> #include "wpcd376i.h"
-void wpcd376i_enable_serial(device_t dev, u16 iobase) +void wpcd376i_enable_serial(pnp_devfn_t dev, u16 iobase) { pnp_set_logical_device(dev); pnp_set_enable(dev, 0); diff --git a/src/superio/winbond/wpcd376i/superio.c b/src/superio/winbond/wpcd376i/superio.c index 25012b0..c18b9e5 100644 --- a/src/superio/winbond/wpcd376i/superio.c +++ b/src/superio/winbond/wpcd376i/superio.c @@ -24,7 +24,7 @@ #include "chip.h" #include "wpcd376i.h"
-static void init(device_t dev) +static void init(struct device *dev) { if (!dev->enabled) return; diff --git a/src/superio/winbond/wpcd376i/wpcd376i.h b/src/superio/winbond/wpcd376i/wpcd376i.h index b894e4e..8d770b4 100644 --- a/src/superio/winbond/wpcd376i/wpcd376i.h +++ b/src/superio/winbond/wpcd376i/wpcd376i.h @@ -30,6 +30,6 @@ #define WPCD376I_KBCK 6 /* PS/2 keyboard */ #define WPCD376I_GPIO 7 /* General Purpose I/O */
-void wpcd376i_enable_serial(device_t dev, u16 iobase); +void wpcd376i_enable_serial(pnp_devfn_t dev, u16 iobase);
#endif