get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/176394/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 176394,
    "url": "http://patchwork.ozlabs.org/api/patches/176394/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1344582541-31390-1-git-send-email-monstr@monstr.eu/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1344582541-31390-1-git-send-email-monstr@monstr.eu>",
    "list_archive_url": null,
    "date": "2012-08-10T07:09:01",
    "name": "[U-Boot] microblaze: Call spi_init function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ba48abea770667a34fc19c884f180df3744a3197",
    "submitter": {
        "id": 2237,
        "url": "http://patchwork.ozlabs.org/api/people/2237/?format=api",
        "name": "Michal Simek",
        "email": "monstr@monstr.eu"
    },
    "delegate": {
        "id": 17739,
        "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api",
        "username": "jagan",
        "first_name": "Jagannadha Sutradharudu",
        "last_name": "Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1344582541-31390-1-git-send-email-monstr@monstr.eu/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/176394/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/176394/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id B56482C0094\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 10 Aug 2012 17:09:28 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B994C28115;\n\tFri, 10 Aug 2012 09:09:10 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id oF5iVwBsydFw; Fri, 10 Aug 2012 09:09:09 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 6E0D028106;\n\tFri, 10 Aug 2012 09:09:08 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 453D6280BF\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2012 09:09:05 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id fxTX4vFQYkaG for <u-boot@lists.denx.de>;\n\tFri, 10 Aug 2012 09:09:03 +0200 (CEST)",
            "from mail-we0-f172.google.com (mail-we0-f172.google.com\n\t[74.125.82.172]) by theia.denx.de (Postfix) with ESMTPS id 772D0280B2\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2012 09:09:03 +0200 (CEST)",
            "by weyu54 with SMTP id u54so831156wey.3\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2012 00:09:03 -0700 (PDT)",
            "by 10.216.85.130 with SMTP id u2mr1032224wee.202.1344582542837;\n\tFri, 10 Aug 2012 00:09:02 -0700 (PDT)",
            "from localhost (nat-2.starnet.cz. [92.62.224.2])\n\tby mx.google.com with ESMTPS id\n\tcl8sm6060606wib.10.2012.08.10.00.09.01\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tFri, 10 Aug 2012 00:09:02 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 IN_DSBL_ORG=4.35 (only DNSBL check\n\trequested)",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=google.com; s=20120113;\n\th=from:to:subject:date:message-id:x-mailer:x-gm-message-state;\n\tbh=3OplcCCAlCO8WJkfBz4tccXIs7+7TEB0OcQEXrahClU=;\n\tb=nZN4Q1y9fZmdc8pfMUjVKLwiB8RKKS2xZKfx9KNSUjZAN4u+dCSlOpgXjvBYkwyBhk\n\twfPPvxeW7TCOuVT+Z7uRHEFd1z/C4x3C4yLxTb7qpRH7jTTtD2ZIWpge4y6/hws82J6z\n\tiImKFIBp4sdLYrr92tQshFRSLWmwhK0MN5yCcg+VajZElh89iy/EL7ksEGyuqFZ6bgxC\n\tLdzx0fXn4fM3BoCAF8J4VHotAocV758BBADgJw6qgA9YaLRPc9K6QdLz3ZPtmpzn8+nm\n\t89thok/rCTFanKMU9Xtz9V4M9wUI0KDj/DgZZm7iKyNMvOKf4X/j7kQtazLu2oPF6Xkv\n\tx0sA==",
        "From": "Michal Simek <monstr@monstr.eu>",
        "To": "u-boot@lists.denx.de",
        "Date": "Fri, 10 Aug 2012 09:09:01 +0200",
        "Message-Id": "<1344582541-31390-1-git-send-email-monstr@monstr.eu>",
        "X-Mailer": "git-send-email 1.7.0.4",
        "X-Gm-Message-State": "ALoCoQmzjEpFQ8LtAU9AH06ZCMnByD1GlLL1gwEzuTTtMIEtc7R5e9A3PA6iveh14HYcSqVZ8eeH",
        "Subject": "[U-Boot] [PATCH] microblaze: Call spi_init function",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "Initialization spi.\n\nSigned-off-by: Michal Simek <monstr@monstr.eu>\n---\n arch/microblaze/lib/board.c |    5 +++++\n 1 files changed, 5 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c\nindex 674b573..ef4bac4 100644\n--- a/arch/microblaze/lib/board.c\n+++ b/arch/microblaze/lib/board.c\n@@ -32,6 +32,7 @@\n #include <stdio_dev.h>\n #include <serial.h>\n #include <net.h>\n+#include <spi.h>\n #include <linux/compiler.h>\n #include <asm/processor.h>\n #include <asm/microblaze_intc.h>\n@@ -166,6 +167,10 @@ void board_init_f(ulong not_used)\n \t}\n #endif\n \n+#ifdef CONFIG_SPI\n+\tspi_init();\n+#endif\n+\n \t/* relocate environment function pointers etc. */\n \tenv_relocate ();\n \n",
    "prefixes": [
        "U-Boot"
    ]
}