The patch titled ps3: add shutdown to virtual uart port driver framework has been added to the -mm tree. Its filename is ps3-add-shutdown-to-virtual-uart-port-driver-framework.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ps3: add shutdown to virtual uart port driver framework From: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> PS3: Add a shutdown method to the PS3's virtual uart port driver framework Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx> Cc: James Simmons <jsimmons@xxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ps3/vuart.c | 17 +++++++++++++++++ drivers/ps3/vuart.h | 1 + 2 files changed, 18 insertions(+) diff -puN drivers/ps3/vuart.c~ps3-add-shutdown-to-virtual-uart-port-driver-framework drivers/ps3/vuart.c --- a/drivers/ps3/vuart.c~ps3-add-shutdown-to-virtual-uart-port-driver-framework +++ a/drivers/ps3/vuart.c @@ -867,6 +867,22 @@ static int ps3_vuart_remove(struct devic return 0; } +static void ps3_vuart_shutdown(struct device *_dev) +{ + struct ps3_vuart_port_device *dev = to_ps3_vuart_port_device(_dev); + struct ps3_vuart_port_driver *drv = + to_ps3_vuart_port_driver(_dev->driver); + + dev_dbg(&dev->core, "%s:%d: %s\n", __func__, __LINE__, + dev->core.bus_id); + + if (drv->shutdown) + drv->shutdown(dev); + else + dev_dbg(&dev->core, "%s:%d: %s no shutdown method\n", __func__, + __LINE__, dev->core.bus_id); +} + /** * ps3_vuart - The vuart instance. * @@ -878,6 +894,7 @@ struct bus_type ps3_vuart = { .match = ps3_vuart_match, .probe = ps3_vuart_probe, .remove = ps3_vuart_remove, + .shutdown = ps3_vuart_shutdown, }; int __init ps3_vuart_init(void) diff -puN drivers/ps3/vuart.h~ps3-add-shutdown-to-virtual-uart-port-driver-framework drivers/ps3/vuart.h --- a/drivers/ps3/vuart.h~ps3-add-shutdown-to-virtual-uart-port-driver-framework +++ a/drivers/ps3/vuart.h @@ -30,6 +30,7 @@ struct ps3_vuart_port_driver { struct device_driver core; int (*probe)(struct ps3_vuart_port_device *); int (*remove)(struct ps3_vuart_port_device *); + void (*shutdown)(struct ps3_vuart_port_device *); int (*tx_event)(struct ps3_vuart_port_device *dev); int (*rx_event)(struct ps3_vuart_port_device *dev); int (*disconnect_event)(struct ps3_vuart_port_device *dev); _ Patches currently in -mm which might be from Geert.Uytterhoeven@xxxxxxxxxxx are origin.patch ps3-add-shutdown-to-virtual-uart-port-driver-framework.patch ps3-av-settings-driver.patch fbdev-modedb-allow-refresh-rates-for-named-video-modes.patch fbdev-modedb-make-more-pointer-parameters-const.patch fb_videomode_to_var-reset-virtual-screen-parameters.patch ps3-preallocate-bootmem-memory-for-ps3fb.patch ps3-virtual-frame-buffer-driver.patch ps3-disable-display-flipping-during-mode-changes.patch ps3-cleanup-ps3fb-before-clearing-hpte.patch ps3-ps3av-fb-defconfig-updates.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html