public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c
Date: Fri, 22 Dec 2006 11:09:46 +0100	[thread overview]
Message-ID: <458BAEEA.1010402@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 112 bytes --]


ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>

[-- Attachment #2: ads_fixes.txt --]
[-- Type: text/plain, Size: 558 bytes --]

Index: linux-osk/drivers/input/touchscreen/ads7846.c
===================================================================
--- linux-osk.orig/drivers/input/touchscreen/ads7846.c
+++ linux-osk/drivers/input/touchscreen/ads7846.c
@@ -201,7 +201,7 @@ static int ads7846_read12_ser(struct dev
 {
 	struct spi_device	*spi = to_spi_device(dev);
 	struct ads7846		*ts = dev_get_drvdata(dev);
-	struct ser_req		*req = kzalloc(sizeof *req, SLAB_KERNEL);
+	struct ser_req		*req = kzalloc(sizeof *req, GFP_KERNEL);
 	int			status;
 	int			sample;
 	int			use_internal;



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2006-12-22 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-22 10:09 Dirk Behme [this message]
2006-12-22 20:34 ` [PATCH] ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=458BAEEA.1010402@gmail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox